Matt Sergeant writes:
> Nope, but often I do use the TomC "my $fh = do { local *FH; };" method,
> because I hate those ugly HANDLE capital letters everywhere - they use up
> more bytes than lower case ones... ;-)
When you have 5.6.0, it's even easier:
my $fh;
open($fh, "< foobar") or die;
# $fh autovivified to a filehandle
Whee! You can even use the 3-arg open for maximum delight.
Nat
- gensym() Matt Sergeant
- Re: gensym() Randal L. Schwartz
- Re: gensym() Matt Sergeant
- Re: gensym() Nathan Torkington
- Re: gensym() Ken Williams
- Re: gensym() Nathan Torkington
- Re: gensym() John Siracusa
- Re: gensym() Doug MacEachern
