[jifty-devel] Filehandles in actions

Alex Vandiver alexmv at bestpractical.com
Wed Mar 7 15:50:20 EST 2007


On Wed, 2007-03-07 at 15:18 -0500, jpollack at gmail.com wrote:
> Looking at ref of $fh tells me that it is blessed as 'Fh'.  I am
> ignorant as to what type this is, and CPAN isn't helping.

It's a kludge created by CGI.pm.  A possibly useful thing we should do
in Jifty is turn it into an IO::Handle using:

my $h = IO::Handle->new;
$h->fdopen(fileno($$fh), "r");

 - Alex


More information about the jifty-devel mailing list