in reply to Re^7: Spot the bug
in thread Spot the bug
But Perl doesn't have a 'file' as datatype. Perl has filehandles. Just like it has hashes. You can have multiple filehandles, and actions on them don't interfere. You can have multiple hashes, and actions on them don't interfere either.
And while it's true that you can open multiple handles to the same file, when was the last time you saw a program opening multiple handles on STDIN or on a socket, to name a few common streams programs read from?
Perl --((8:>*
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Spot the bug
by eric256 (Parson) on Dec 23, 2005 at 04:25 UTC | |
by Perl Mouse (Chaplain) on Dec 23, 2005 at 07:43 UTC | |
by demerphq (Chancellor) on Dec 23, 2005 at 18:18 UTC |
In Section
Meditations