in reply to Re: Paul Graham on Great Hackers
in thread Paul Graham on Great Hackers
I agree that this should have been the default from the start, but the file-handle type is probably an artifact of staying compatible with perl 4 (which had no objects).open my $fh,"< file"; while (<$fh>) { # stuff } close $fh;
update: here's the discussion on perl6-language
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Paul Graham on Great Hackers
by Jaap (Curate) on Jul 29, 2004 at 13:20 UTC | |
by Joost (Canon) on Jul 29, 2004 at 13:36 UTC | |
by wolfger (Deacon) on Jul 29, 2004 at 16:41 UTC |