Think about Loose Coupling | |
PerlMonks |
Re: Perl variable scoping between functionsby hippo (Bishop) |
on Jul 18, 2018 at 10:02 UTC ( [id://1218731]=note: print w/replies, xml ) | Need Help?? |
it doesn't seem to work correctly ... it runs into difficulty These aren't really useful descriptions of the problem, sorry. Since you haven't shown how you are calling the sub, much less provided an SSCCE, it's pretty hard to help. Update: That said, your sub doesn't return anything, perhaps that's the problem? Without an SSCCE it's still just a guess however.
In Section
Seekers of Perl Wisdom
|
|