pack is a Perl keyword, so the parser doesn't know what to do with that construct. I suggest changing the name of your module.
Of course, if the documentation had shown the unbroken way to call class methods, you wouldn't have had this problem:
BEGIN { require pack; pack::->import(); }
Update: fixed the code to use the really unambiguous way.
In reply to Re: use x; equivalent
by chromatic
in thread use x; equivalent
by unclesmiff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |