If you parse that as "(a ((scalar or code) reference)" then what you said wasn't wrong. However, if you parse that as "(a (scalar) or (code reference))" like morgon and I did, then you'll have to admit that morgon has a point.
However, a reference is a scalar of course, so technically a claim that "you can even bless a scalar" isn't incorrect as much as it's redundant, given that you can only bless references :)
In reply to Re^4: Object Oriented Perl - very basic guide
by muba
in thread Object Oriented Perl - very basic guide
by Preceptor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |