use CGI::Carp qw(fatalsToBrowser) ;
will redirect the error messages to the browser(if you are not checking the
webserver logs, please do so immediately).
Manav
-Original Message-
From: Anish Kumar K. [mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 7:41 PM
To: beginners perl
Su
Anish Kumar K. [AKK], on Monday, January 31, 2005 at 19:41 (+0530)
contributed this to our collective wisdom:
AKK> #!/usr/bin/perl
use strict;
use warnnings;
#always put this at the top!
AKK> use CGI;
AKK> open (TXT, ">tmp.txt") || die "Can't create $file";
what is in $file ? :)
AKK> prin
Anish Kumar K. wrote:
> File is not getting created in perl CGI mode...
>
> It is surprising that the file is not created in the CGI
>
> I tried this from the command line it is getting created there...
Most likely explanation is that the web server user does not have write
privilege in the