my $content_handle = ( ref( $content->{'A'} ) eq 'ARRAY' ) ? $content->{'A'}->[0] : $content->{'A'};
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Test for array or hash - ok, but what to do about it?
by Fletch
in thread Test for array or hash - ok, but what to do about it?
by zerocred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |