use strict; use warnings; my $aFoo = []; my $result = \$aFoo; print 'ref $result : ' . ref($result) . "\n"; print 'ref $$result : ' . ref($$result) . "\n";
prints
ref $result : REF ref $$result : ARRAY
Best, beth
In reply to Re: How to detect a returns value gracefully
by ELISHEVA
in thread How to detect a returns value gracefully
by RatKing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |