in reply to why don't filehandles have punctuation before their name?
File handles are just a scalar, IIRC, and the uppercasing is just a convention, a holdover from the other languages from whence it came.use FileHandle; $fh = new FileHandle; if ($fh->open("< file")) { print <$fh>; $fh->close; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: why don't filehandles have punctuation before their name?
by chipmunk (Parson) on Apr 24, 2001 at 08:21 UTC | |
|
Re: Re: why don't filehandles have punctuation before their name?
by sierrathedog04 (Hermit) on Apr 24, 2001 at 05:52 UTC | |
by tye (Sage) on Apr 24, 2001 at 05:57 UTC | |
by sierrathedog04 (Hermit) on Apr 24, 2001 at 06:14 UTC | |
by tilly (Archbishop) on Apr 24, 2001 at 06:47 UTC | |
by Anonymous Monk on Apr 24, 2001 at 06:14 UTC |