That makes me think of something that crossed my mind once before here.
As a matter of style, going forward, shall we forget wired HANDLE types and just use auto-vivifying locals?
becomesopen FOO, "whatever" or die;
Assuming we're not using a fancy filehandle package or anything.my $foo; open $foo, "whatever" or die;
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: auto-vivifying file handles
by demerphq (Chancellor) on Sep 25, 2001 at 15:31 UTC | |
|
Re: auto-vivifying file handles
by merlyn (Sage) on Sep 25, 2001 at 18:27 UTC | |
|
Re (tilly) 1: auto-vivifying file handles
by tilly (Archbishop) on Sep 25, 2001 at 19:31 UTC | |
by blakem (Monsignor) on Sep 26, 2001 at 03:46 UTC | |
by tilly (Archbishop) on Sep 26, 2001 at 05:47 UTC | |
by John M. Dlugosz (Monsignor) on Sep 25, 2001 at 23:20 UTC | |
by tilly (Archbishop) on Sep 26, 2001 at 01:00 UTC | |
by John M. Dlugosz (Monsignor) on Sep 26, 2001 at 02:26 UTC | |
|
Re: auto-vivifying file handles
by spudzeppelin (Pilgrim) on Sep 25, 2001 at 19:41 UTC |