in reply to Re (tilly) 1: auto-vivifying file handles
in thread auto-vivifying file handles
Isn't there some perl lore surrounding this idiom? I seem to remember someone writing a 500 line module to localize a filehandle, only to have the perl community stumble upon this construct a few weeks later?my $fh = do {local *FH};
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
History of do local?
by tilly (Archbishop) on Sep 26, 2001 at 05:47 UTC |