in reply to Re^4: Why not use a local variable for $self in Moose?
in thread Why not use a local variable for $self in Moose?

>  $my_package::self

$self doesn't belong to a package, it's private (not local ) in the file scope, since you declared it with my.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^5: Why not use a local variable for $self in Moose?