perldoc -f pop

"pop     Pops and returns the last value of the array, shortening the 
array by one element."

you can use pop(@myarray) to remove the first line from array...

On Tue, 18 Jul 2006, Dian Baltadzhiev wrote:

> hi all!
> i have a question ...again.
> i open in my perl script
>  ' /opt/netflow/sbin/nfacctd -P print -c src_host,dst_host -l xxxx | '
> and then process the data. nfacctd send the data every 10 sec. and the first 
> line is always empty. where should i search? in my configuration, in my perl 
> script? any ideas?
> 
>  cheers
>  dian 
> 
> 
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists
> 

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to