in reply to Re: Re: Hash problem.
in thread Hash problem.

I'm '--'ing this node, a rare event for me, for two reasons. First, taking out "use strict" is a bad idea to begin with. Second, try this:
% perl -e 'sub foo { return undef; } print foo()->{"fish"}{"head"}' Can't use an undefined value as a HASH reference at -e line 1.
That's with strict turned off.

So not only is the advice bad, but the solution won't work. Nothing personal to mbond, but that sorta reduces the value of the node. ;)

stephen