in reply to Re^3: MooTools - how to grab file contents?
in thread MooTools - how to grab file contents?

or print $fh, ':',ref $fh;

Replies are listed 'Best First'.
Re^5: MooTools - how to grab file contents?
by ultranerds (Hermit) on Sep 18, 2010 at 12:44 UTC
    Turned out to be a real "school boy" error - I was outputting all the other data to STDERR, but not that bit :) The following works just fine:

    my $handle = $cgi->param('Filedata'); while (<$handle>) { print STDERR $_ }


    Thanks guys :)