ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
... but the actual results as XML (which XMLIn gives a fatal error on, as obviously thats not XML!){ "error":{ "type":"ServiceException", "code":108, "message":"(#108) No results founds" } }
Always returns:my $test = eval q|{ "error":{ "type":"ServiceException", "code":108, "message":"(#108) No results founds" } }|; use Data::Dumper; print Dumper($test);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using eval, but always undef?
by LanX (Saint) on Mar 01, 2012 at 17:46 UTC | |
by ultranerds (Hermit) on Mar 01, 2012 at 17:53 UTC | |
by Your Mother (Archbishop) on Mar 01, 2012 at 17:59 UTC | |
|
Re: Using eval, but always undef?
by choroba (Cardinal) on Mar 01, 2012 at 17:45 UTC |