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


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.