in reply to Re^2: Trying to understand method calling in OOP
in thread [SOLVED]: Trying to understand method calling in OOP

Is that why?

moo@cow[4345]~>perl -Mstrict -le 'sub { my self = shift }' No such class self at -e line 1, near "{ my self" syntax error at -e line 1, near "my self =" Execution of -e aborted due to compilation errors.

Replies are listed 'Best First'.
Re^4: Trying to understand method calling in OOP
by stevieb (Canon) on May 07, 2018 at 22:19 UTC

    I love it when I get to say "Your Mother has spoken!" ;)