Re: display tail of monster file

2009-09-26 Thread 叶孤城
2009/9/27 叶孤城 : > 2009/9/27 Harry Putnam : >> Will it make any difference in loading time or cpu resource usage to >> use the `tail' command like 'qx/tail -n30 $file/' as apposed to something >> in straight perl like this example that prints the last 30 lines of $log: >> > > Not absolute that which

Re: display tail of monster file

2009-09-26 Thread 叶孤城
2009/9/27 Harry Putnam : > Will it make any difference in loading time or cpu resource usage to > use the `tail' command like 'qx/tail -n30 $file/' as apposed to something > in straight perl like this example that prints the last 30 lines of $log: > Not absolute that which is better. But `tail` wi

display tail of monster file

2009-09-26 Thread Harry Putnam
Will it make any difference in loading time or cpu resource usage to use the `tail' command like 'qx/tail -n30 $file/' as apposed to something in straight perl like this example that prints the last 30 lines of $log: #!/usr/local/bin/perl use strict; use warnings; my $log = shift;

Re: Using named params

2009-09-26 Thread Shlomi Fish
On Saturday 26 Sep 2009 03:18:35 Steve Bertrand wrote: > Hi all, > > I've read a fair bit about named params, and have been hit by bugs by > overlapping lists into hashes etc. > > Below is a method that essentially isn't truly a 'captcha', but is > something I use to 'ensure' that the person clic

[cpan Q] Failure to finish installing using cpan [File::ReadBackwards

2009-09-26 Thread Harry Putnam
I wasn't able to figure out what is happening when cpan fails on File::ReadBackwards: I'm hoping someone will be able to see what the problem is. Tail of output from (inside cpan shell) `install File::ReadBackwards': [...] Running make test PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Comman