in reply to Perl variable scoping between functions
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl variable scoping between functions
by Bryan882 (Novice) on Jul 18, 2018 at 10:10 UTC | |
by hippo (Archbishop) on Jul 18, 2018 at 10:19 UTC | |
by Bryan882 (Novice) on Jul 18, 2018 at 10:55 UTC | |
by hippo (Archbishop) on Jul 18, 2018 at 11:22 UTC |