Home : General : Perl Programming :

General: Perl Programming: Re: [Andy] Can't use an undefined value as a HASH reference : Edit Log

Here is the list of edits for this post
Re: [Andy] Can't use an undefined value as a HASH reference
this seems to work:

$user = {} if ( !$user );

when i left off the if statement, it failed to show info for the selected user! thank you! (and let me know if you think i've messed something up.)

Last edited by:

delicia: Aug 14, 2010, 1:39 PM

Edit Log: