go ahead... be a heretic | |
PerlMonks |
Re: Is it server configuration or my error ??by amphiplex (Monk) |
on Jul 18, 2002 at 10:06 UTC ( [id://182741]=note: print w/replies, xml ) | Need Help?? |
Hi ! You write that Perl scripts works properly if I do not require any file operations. . The code you posted does contain nothing else, please post the rest of the script, too. If this really is all of your script, then what would you want it to do ? As it is, it doesn't print anything. In order to return something from a CGI-Script that will appear in the browser calling your script, you will have to print a valid html file. Propably the easiest way to do this is to use CGI.pm. Here is a small example that will print the first line of your file: BTW: Please use <CODE> tags when presenting code, this makes it much easier to read and download. ---- amphiplex
In Section
Seekers of Perl Wisdom
|
|