in reply to undefined value as a HASH reference??

 use warnings; and see Hash Problem. UPDATE : Looks like i misunderstood this question

Azatoth a.k.a Captain Whiplash

Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?

Replies are listed 'Best First'.
Re: Re: undefined value as a HASH reference??
by ryddler (Monk) on May 16, 2001 at 18:20 UTC

    I did see that posting, but it doesn't answer my question. If you notice in my post I have given two examples of the offensive line, one of which works, and the other doesn't. Both are making assignments to something on the left side, but one causes an error, and the other doesn't.

    My question asks why the two are different, because it doesn't make any sense to me.

    I tried using the use warnings; and use diagnostics in my script (I already had -w), but the output results didn't give any more significant information that I could use. If I use the line that is commented out, #print_debug(Dumper $var_ref); I get a full printout showing all the variables to be quite defined!

    ryddler