ref() can return anything for blessed objects
perl -le 'print ref(bless{},"Hello World")'
Scalar util's reftype is better for this job.
In reply to Re: Behaving appropriately based on ref() result
by bsb
in thread Behaving appropriately based on ref() result
by qbxk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |