Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How do I save the result of POST to a file?

by arthas (Hermit)
on Jul 30, 2003 at 07:13 UTC ( #279099=note: print w/replies, xml ) Need Help??


in reply to How do I save the result of POST to a file?

You can use require to emulate use. To get the same behaviuor as use Module you need to say:

BEGIN { require MODULE; import MODULE LIST; }

To get the same behaviour as use MODULE () you need to say:

BEGIN { require MODULE; }

This way you should be able to use cpan:://CGI module. If the module requires a more recent version of Perl, try looking for an older version, or for cgi-lib.pl, which is not maintained anymore but is still available around the web.

Hope this helps!

Michele.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2019-05-24 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (147 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!