On 8/4/02 9:15, "Tor Hildrum" <[EMAIL PROTECTED]> wrote:

> Here are some of the error messages I get:
> Use of uninitialized value in concatenation (.) at script.cgi line 55.
> Use of uninitialized value in concatenation (.) at script.cgi line 55.
> Can't open : No such file or directory

Full source for the script can be located at:
http://tortest.nuug.no/perl.txt

The script dies on this line:
open (REGISTRER, ">>$registrerte") or die();  ## $registrerte null-value

I don't understand why it is, because I have defined it at the start of my
script with my $registrerte = "";
I thought that made it global?
And, it is defined in the sub registrer().
I have also tried setting it inside the sub without luck.

Any advice would be much appreciated.
I have re-read chapter 8 of Learning Perl, but I'm not getting any wiser.

Tor


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to