Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: saving data problem

by George_Sherston (Vicar)
on Oct 19, 2002 at 14:21 UTC ( #206515=note: print w/ replies, xml ) Need Help??


in reply to saving data problem

Like other monks I don't get exactly what you want to do. But if *all* you want to do is dump the data from your form into a file then you could do worse than use Data::Dumper to put the whole CGI object, containing everything you got from the form, into a text file. This would do it:

use Data::Dumper; my $filename = time; # i.e. a time-stamped filename $filename .= '.txt'; open F, ">/your/chose/path/$filename"; print F Dumper($q);


George Sherston


Comment on Re: saving data problem
Download Code
Re: Re: saving data problem
by crazyinsomniac (Prior) on Oct 20, 2002 at 06:25 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-12-25 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls