in reply to Re: Re^4: Determining what line a filehandle is on
in thread Determining what line a filehandle is on
use IO::Handle; open ($a, "ls|"); open ($b, "ls|"); while (<$a>) { print "A: ", $a->input_line_number(), " "; <$b>;<$b>; print "B: ", $b->input_line_number(), " "; } close ($a); close ($b);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 7: Determining what line a filehandle is on
by tilly (Archbishop) on Jul 07, 2001 at 16:36 UTC | |
by tadman (Prior) on Jul 07, 2001 at 18:02 UTC | |
Re: Re^6: Determining what line a filehandle is on
by John M. Dlugosz (Monsignor) on Jul 07, 2001 at 21:01 UTC | |
by tadman (Prior) on Jul 08, 2001 at 22:29 UTC | |
by tilly (Archbishop) on Jul 09, 2001 at 16:34 UTC | |
by John M. Dlugosz (Monsignor) on Jul 09, 2001 at 07:08 UTC |