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

Maybe
use Data::Dumper; print Dumper $cgi;
might reveal something useful?

Replies are listed 'Best First'.
Re^4: MooTools - how to grab file contents?
by choroba (Cardinal) on Sep 14, 2010 at 09:21 UTC
    or print $fh, ':',ref $fh;
      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 :)