[Melbourne-pm] Promoting old-school file handles to io::handles

Alfie John alfiejohn at gmail.com
Tue Jan 12 18:44:51 PST 2010

On Wed, Jan 13, 2010 at 1:24 PM, Ryan, Martin G <
Martin.G.Ryan at team.telstra.com> wrote:

> Toby Corkindale says
> > Some of the calling code was passing me filehandles that were, get this,
> > overloaded fileglobs that were blessed. Like this:
> I have vague recollection that in early version of perl5 the *only* way you
> could pass filehandles into subs was via a typeglob reference.

Of course! Forgot about that. Nice pickup Martin.


> Martin
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/melbourne-pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20100113/353c63f0/attachment.html>

More information about the Melbourne-pm mailing list