in reply to Initialised values that fail to initialise..?

You don't tell us what line 49 is, and I'm not going to count 49 lines. But my guess is that it is:
print "$current others have gathered information here.\n";

The value cannot be initialized, because you are getting a compile time error. And you are getting that because in that line, no variable $current has been declared.

If you properly indent your code, it will become obvious.

Abigail

Replies are listed 'Best First'.
Re: Re: Initialised values that fail to initialise..?
by Anonymous Monk on Apr 26, 2003 at 14:33 UTC
    You're right, but I'll comment a number next to the relevant lines in future.

    But my code IS properly indented, unfortunately copying + pasting in blackbox appears to have let me down... sorry.

    The problem was indeed scoping, sorted.

    Cheers
    mercurus