First  |  Prev |  Next  |  Last
Pages: 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
FAQ 6.12 Can I use Perl regular expressions to match balanced text?
This is an excerpt from the latest version perlfaq6.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 . --------... 23 Jun 2010 12:50
FYI: perlbench 5.8.8-5.12.1
Hi everyone, Thought it would be good to compare perl performace over the years and on request BinGOs and run and hosted the results of the benchmark test here: http://cpanidx.org/perlbench/ P.S: Higer numbers are better. 200 is twice as fast as 100. --- news://freenews.netfront.net/ - complaints: news(a)netf... 23 Jun 2010 11:42
Checking Perl 5.8.0 programs.
cat y.pl #!/usr/bin/perl use strict; use warnings; foo(); ./y.pl Undefined subroutine &main::foo called at ./y.pl line 4. perl -MO=Lint y.pl y.pl syntax OK What's a better way to check whether a program has undefined subroutines? -- RGB ... 23 Jun 2010 10:35
who stole my returned list?
On Jun 23, 1:58 pm, Marc Girod <marc.gi...(a)gmail.com> wrote: I failed to reproduce the problem in a narrow snippet: I narrowed one step more, calling the original DESTROY: use strict; use ClearCase::Argv; sub fun { my $thing = ClearCase::Argv->new; return qw(1 2 3); } print "Fun ", join(' ', fun)... 8 Jul 2010 04:47
export symbols
use YourModule; This imports all the symbols from YourModule's @EXPORT into the namespace of the use statement. use YourModule (); This causes perl to load your module but does not import any symbols. Specifying () every time seems safe, but a hassle. Without reading the source, can I get a lis... 23 Jun 2010 10:35
FAQ 4.20 How do I unescape a string?
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 . --------... 23 Jun 2010 06:13
UNIX datagram sockets
Stein has an example of UNIX datagram sockets in his Networking book, but it includes other ideas that, to me, made it hard to see the forest for the trees. So I distilled it down to the bare essential elements related to socket setup. I use a loop with 100,000 iterations to test performance, and get about 40... 25 Jun 2010 09:52
FAQ 5.10 How can I use a filehandle indirectly?
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 . --------... 23 Jun 2010 00:49
what cpu core is running the script?
I have a windows machine (dual-core). Is there a way in perl to find out what cpu core is running my script? I glanced through the Win32 modules but didn't see anything. thanks ... 23 Jun 2010 04:04
Proposing a new module: Parallel::Loops
perldoc perlmodlib suggests posting here before posting on CPAN, so here goes: I have a new module that I'd like to upload: Parallel::Loops, and following is the bulk of the synopsis. Is the Parallel::Loops name appropriate and does anybody have any comments on it before I post it on CPAN? Its repository can be... 29 Jun 2010 11:50
First  |  Prev |  Next  |  Last
Pages: 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41