Re: display tail of monster file

2009-09-27 Thread Harry Putnam
叶孤城 writes: > 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: >>> >> >>

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;