in reply to Re: Call sub in variable module
in thread Call sub in variable module
I have recently read that area of that "require" webpage, but I couldn't see anything which answered my question, i.e. "how can I call mysub() now?", and I still can't now.
Could you please copy/paste the exact sentence that answers that question?
Regarding the 2nd part of my question, i.e.:
"Also, if each module will always contain only 1 sub, do they need to have a sub at all? If not, how can they be written & called without a sub?",
I was just about to remove it from my original question when you (with lightning speed which proves you must be just across the ditch, mate) responded. I've removed it now, because it's not really related, and might ask it again as a separate question someday. Meanwhile, let's (virtually) sweep that one under the carpet.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Call sub in variable module
by kcott (Archbishop) on Nov 07, 2016 at 04:02 UTC | |
by tel2 (Pilgrim) on Nov 08, 2016 at 00:50 UTC |