{$image = "$web$xml->{result}->{covers}->{1}->{content}";} else{$image = "$web$xml->{result}->{covers}"}
Have you read the FAQ:
What's wrong with always quoting "$vars"?
Do you really need to make a copy of $web$xml->{result}->{covers}->{1}->{content} or $web$xml->{result}->{covers}?
In reply to Re: If exists (hash)
by jwkrahn
in thread If exists (hash)
by packetstormer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |