To many arguments for routine::dostuff at doit.pl line x near ""d"".That's because of the empty prototype you've given your sub:
sub dostuff()Take away the parens and you should be fine. "But it worked fine before I put it in a module", you say. That's because putting it in a module changed the order of compilation. Prototypes don't take effect until after they're compiled.
In reply to Re: use lib "/..." and sub parms..
by Anonymous Monk
in thread use lib "/..." and sub parms..
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |