|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: How to call a sub-routine refby blue_cowdawg (Prior) |
| on Oct 19, 2012 at 18:34 UTC ( #1000012=note: print w/ replies, xml ) | Need Help?? |
|
assuming for a second you are talking about a reference such as then you would call it thusly: where "arg1...argn" would be replaced by the arguments you want passed to the sub. Here is a more complete example:
Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||