in reply to Re: Re^6: Determining what line a filehandle is on
in thread Determining what line a filehandle is on
Versus the new "lexical" way:local (*FOO); open (FOO, $foo_file) || die "Could not open $foo_file\n"; DoStuffOnHandle(\*FOO); close (FOO);
my $foo; open ($foo, $foo_file) || die "Could not open $foo_file\n"; DoStuffOnHandle($foo); close ($foo);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 9: Determining what line a filehandle is on
by tilly (Archbishop) on Jul 09, 2001 at 16:34 UTC | |
Re: Re^8: Determining what line a filehandle is on
by John M. Dlugosz (Monsignor) on Jul 09, 2001 at 07:08 UTC |