in reply to Use a perl script to empty a file and then replace it with data from a web form

Hi,

If all you want to use is param/header then don't import :standard , only import what you need use CGI qw/ param header /;

Did you copy that %FORM stuff from use CGI or die; ? The lesson of that node is to use param()

Also learn/copy from Re: HTML::Template Alternative to output() (more subs , cgi101) and Re^5: Cookie and Session because that is cgi101