Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by wfsp (Abbot)
on Sep 14, 2010 at 09:12 UTC ( [id://860075]=note: print w/replies, xml ) Need Help??


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 :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://860075]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-19 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found