It doesn't really have anything to do with packages, it comes down to the difference between $var and var. You need a $ on the second one too...
In reply to Re: problem ..related to perl package concept
by jasonk
in thread problem ..related to perl package concept
by perlplayer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |