good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: array or array ref as variableby GrandFather (Saint) |
on Jun 28, 2013 at 11:57 UTC ( [id://1041234]=note: print w/replies, xml ) | Need Help?? |
Having looked over your conversation with HelenCr, I think a slight step back is in order to focus on the key issue. The following code mocks up a solution to the issue of passing in a "module reference" to a "collection" sub to get some work done:
Prints:
The key is that if you want to call a function in a module you can use the syntax $modulename->function() to make the call.
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|