On Wed, 19 Sep 2001, Kipp, James wrote:

> This is interesting stuff. When would one use this as opposed to a regulare
> file handle. In the above example is $foo undefined before this statement.
> Sorry to bother, but this is cool stuff and just want to understand it more.

You would use a filehandle ref, for instance, when you want to keep it in
an array or a hash, or blessed into a class.  At least that's when I've
used filehandle refs.  I'm sure there are many other reasons to do so.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
A student who changes the course of history is probably taking an exam.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to