in reply to *FOO{THING} syntax used on a lexical variable
My comment might make more sense if you go back to how we did that with Perl 5.005.
Is it less surprising now?use strict; use warnings; my $fh = do {local *FOO}; open $fh, "somefile"; my $sc = *$fh{IO}; print <$sc>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: *FOO{THING} syntax used on a lexical variable
by revdiablo (Prior) on Jun 12, 2005 at 07:28 UTC |