Welcome to the Monastery | |
PerlMonks |
Re: The proper use of Safeby MeowChow (Vicar) |
on Mar 31, 2001 at 03:46 UTC ( [id://68569]=note: print w/replies, xml ) | Need Help?? |
Change your lexical $c to a package global (eg. change 'my' to a 'use vars'), and it will work. The share method, as the documentation states, works on variables in the calling package.
MeowChow s aamecha.s a..a\u$&owag.print
In Section
Seekers of Perl Wisdom
|
|