sorry if i think too simple, but did you mean you need to print whatever is on the 5th line ... $_ contains it ;)
if( $line_number == 5 ){ print "Line $line_number contains this text:\n", $_, "\n"; }
In reply to Re: print a determinate line number
by arun_kom
in thread print a determinate line number
by Paulux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |