Chris Devers wrote:
On Sat, 16 Oct 2004, Brian Gunlogson wrote:

A filehandle is kinda like a namespace for the file. It shouldn't have a datatype, because it doesn't contain data.

Files don't contain data??

He said *filehandles* don't contain data, not files. :-)

Which is not strictly true or they wouldn't work, but only the open function can put valid data into a filehandle and only the close function can remove valid data from a filehandle.

Perl inherited its filehandles from C where they are a pointer to a structure which contains a lot of housekeeping details on the opened file and is used to hide all those messy details from the user (programmer).


John -- use Perl; program fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to