http://qs321.pair.com?node_id=1086168


in reply to Re^3: Object Oriented Perl - very basic guide
in thread Object Oriented Perl - very basic guide

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 :)

  • Comment on Re^4: Object Oriented Perl - very basic guide