in reply to Re^10: Referencing in Function not working correctly.
in thread Referencing in Function not working correctly.

It initialized all variables.

Yes, but that's completely different than what people are trying to tell you. If you write:

my @x;

... @x contains the same thing as if you had written:

my @x = ();

... because @x will contain no elements. People are trying to tell you not to waste time and keystrokes with the latter, because it's unnecessary and a distraction.

Replies are listed 'Best First'.
Re^12: Referencing in Function not working correctly.
by mr_p (Scribe) on Apr 02, 2010 at 22:12 UTC
    Ok. Thanks for clearing things up. I was thinking they are trying to tell me something else.