http://www.perlmonks.org?node_id=206515


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

Replies are listed 'Best First'.
Re: Re: saving data problem
by crazyinsomniac (Prior) on Oct 20, 2002 at 06:25 UTC