叶孤城 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:
>>>
>>
>>
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
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
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;