![]() |
|
Think about Loose Coupling | |
PerlMonks |
Making variables visible between calls.by ambs (Pilgrim) |
on Dec 12, 2008 at 12:56 UTC ( #729998=perlquestion: print w/replies, xml ) | Need Help?? |
ambs has asked for the wisdom of the Perl Monks concerning the following question: Hello. What I really want (if the code worked as I was expecting):
I mean, supply a function that uses a variable that is declared outside. Of course I do not want this on this context, this is just my test code. I do not want to make the variable global to the package. Any hints? Thanks! :) Alberto Simões
Back to
Seekers of Perl Wisdom
|
|