In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Colin Johnstone) writes:
>Gidday all,
>
>I assume when using die in this format I should see the error message.
>
>#!/usr/bin/perl
>
>use CGI qw( :standard );
>
>print header();
>$file1 = /web/schooled/www/news/subscribers_news1.txt
>
>open IN, "<
1:25 PM
To: 'Nikola Janceski'
Cc: '[EMAIL PROTECTED]'
Subject: RE: die not working
Thanks Nicola,
it didn't work though I get this error now.
Software error:
syntax error at /web/schooled/cgi-bin/optin.cgi line 36, next char )
Execution of /web/schooled/cgi-bin/optin.cgi
$record);
$subscribers1{$data[0]} = $data[1];
}
close IN;
-Original Message-
From: Nikola Janceski [mailto:nikola_janceski@;summithq.com]
Sent: Thursday, November 07, 2002 08:20
To: Johnstone, Colin; '[EMAIL PROTECTED]'
Subject: RE: die not working
add this:
use CGI::Carp '
add this:
use CGI::Carp 'fatalsToBrowser';
> -Original Message-
> From: Johnstone, Colin [mailto:Colin.Johnstone@;det.nsw.edu.au]
> Sent: Wednesday, November 06, 2002 4:18 PM
> To: '[EMAIL PROTECTED]'
> Subject: die not working
>
>
> Gidday all,
>
> I assume when using die in this form