Hi I am facing problem with File Generation with CGI..
In a CGI Program if (!-e "/home/anish/data.xml") { print $cgi->p("Entered Hyere"); open OUTPUT, ">/home/anish/data.xml" || die "Cannot create the XML File"; print OUTPUT "\<?xml version\=\"1\.0\"\?\>\n"; print OUTPUT "\<end\>\n"; close OUTPUT; } the file is not getting created....I tested this without CGI...It works fine... Why i wanted to have CGI is I pass some parameters from HTML to the CGI script and then do the manipulation.. Is there any thng different I need to do? Thanks Anish