First  |  Prev |  Next  |  Last
Pages: 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
FAQ 3.12 Where can I get perl-mode or cperl-mode for emacs?
This is an excerpt from the latest version perlfaq3.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 16 Jul 2010 18:46
regex inserting a - for every third digit in a number fromright to left
lennie <erling.kopperdal(a)lyse.net> wrote: Hi group! Apologies if this is trvial for you, but I try to construct a s/ / /g that will insert a - for every third digit in a number from right to left, ie: 123456 -> 123-456 1234567 -> 1-234-567 123 -> 123 (no - as first char) Start with p... 16 Jul 2010 15:27
regex inserting a - for every third digit in a number from rightto left
lennie wrote: Hi group! Apologies if this is trvial for you, but I try to construct a s/ / /g that will insert a - for every third digit in a number from right to left, ie: 123456 -> 123-456 1234567 -> 1-234-567 123 -> 123 (no - as first char) etc.. It might be possible to do this wit... 16 Jul 2010 15:27
regex inserting a - for every third digit in a number from right to left
Hi group! Apologies if this is trvial for you, but I try to construct a s/ / /g that will insert a - for every third digit in a number from right to left, ie: 123456 -> 123-456 1234567 -> 1-234-567 123 -> 123 (no - as first char) etc.. It might be possible to do this with a cpan library function, but I wo... 17 Jul 2010 13:02
FAQ 4.10 Why aren't my random numbers random?
This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 16 Jul 2010 12:06
debugging Carp
Hi, Debugging some problems I had (with map), I got extra errors under the debugger, while trying to step around calls to warn: Bizarre copy of ARRAY in sassign at /usr/lib/perl5/5.10/Carp/Heavy.pm line 104, <GEN1> line 1. Carp::caller_info(/usr/lib/perl5/5.10/Carp/Heavy.pm:104): 104: my $arg = shift; ... 19 Jul 2010 13:32
map and grep again...
Hello, I know this has been explained earlier... but why are map and grep behaving differently here? #!/usr/bin/perl -w use strict; use feature qw(say); my @glb = qw(lbtype:FFF); say $_ for map { s/^lbtype:(.*)(\@.*)?$/$1/ } @glb; @glb = qw(lbtype:FFF); say $_ for grep { s/^lbtype:(.*)(\@.*)?$/$1/ } @g... 16 Jul 2010 14:20
Is Mason dead? Was: MasonCompRoot and globs
Tim Watts <tw(a)dionic.net> writes: Judging by the resounding lack of action re Mason here and on the MasonHQ lists do I conclude that using Mason on a new project is a bad idea? I'd give it some time before drawing any conclusions - there's less than a day between this message and your previous one. Furt... 16 Jul 2010 15:27
FAQ 5.31 How can I read a single character from a file? From the keyboard?
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 16 Jul 2010 06:37
Posting Guidelines for comp.lang.perl.misc ($Revision: 1.9 $)
Outline Before posting to comp.lang.perl.misc Must - Check the Perl Frequently Asked Questions (FAQ) - Check the other standard Perl docs (*.pod) Really Really Should - Lurk for a while before posting - Search a Usenet archive If You Like - Check Other Re... 16 Jul 2010 03:23
First  |  Prev |  Next  |  Last
Pages: 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28