Doran Barton wrote the following on 2/7/2005 6:52 PM :

The problem here is that the package/object name is the implicit parameter.
This will work:

 sub mySub {
   my $class = shift;
   my $var = shift;
   ...
 }

I couldn't get that to work either. Thanks for helping me troubleshoot this. I'll have to revert back to my old programming style, until I can learn what's going on.

Thanks to all!
.===================================.
| This has been a P.L.U.G. mailing. |
|      Don't Fear the Penguin.      |
|  IRC: #utah at irc.freenode.net   |
`==================================='

Reply via email to