kjkjava has asked for the wisdom of the Perl Monks concerning the following question:
Otherwise, I get this:$VAR1 = 'true';
I am trying to check to see if the user was rejected by starting with if(defined $data->{error}). If the user was in fact verified, I get this run time error: Can't use string ("true") as a HASH ref while "strict refs" in use at.... Thanks for any advice.$VAR1 = { 'request' => [ '/account/verify_credentials.xml' ] 'error' => [ 'Could not authenticate you.' ] }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Checking the layout of a data structure.
by Fletch (Bishop) on Dec 05, 2008 at 20:12 UTC | |
by kjkjava (Initiate) on Dec 05, 2008 at 21:38 UTC |