How is this possible if I have accounted for all possible types?
'some string' is a literal. It is not a reference to anything. I presume you though that ref() would report scalar.
$foo = 'bar'; print '$foo is a ', ref($foo), $/; print '\$foo is a ', ref(\$foo), $/; __DATA__ $foo is a \$foo is a SCALAR
cheers
tachyon
In reply to Re: Re: Re: hash reference syntax?
by tachyon
in thread hash reference syntax?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |