in reply to scope and declaration in local packages
On top of what's said above, you're calling sound as a class method, however, the code of the sub suggests it ought to be called as an object method. However, your snippet never creates an object.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: scope and declaration in local packages
by december (Pilgrim) on Jan 31, 2011 at 13:39 UTC |
In Section
Seekers of Perl Wisdom