2009/9/27 Harry Putnam <rea...@newsguy.com>: > 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` will launch an external process that is generally slower. You may benchmark them to see the difference, using the module like: http://search.cpan.org/~pangj/Net-Squid-ReverseProxy-0.02/lib/Net/Squid/ReverseProxy.pm //ye -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/