in reply to Re: Unexpected value in incoming variable.
in thread Unexpected value in incoming variable.

Within a package, the first argument/parameter passed to a method is the package name

This is of course only true if you call the sub via the class syntax (either class->method or method class (how did you think new class worked?))

If you just want a namespace and don't want to bother with package/object syntax then use double colons to delimit packages for your function call, as in Alice->method(); becomes Alice::method().