XP is just a number | |
PerlMonks |
Re^4: ref == "REF"by gaal (Parson) |
on Oct 18, 2004 at 20:39 UTC ( [id://400314]=note: print w/replies, xml ) | Need Help?? |
I hope I understand you correctly. If so, then wouldn't the expression
ref $x eq 'SCALAR' && ref $$x suffice as an idiomatic substitute for the current ref $x eq 'REF' ?
In Section
Seekers of Perl Wisdom
|
|