Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Aliasing Module->methodby stevieb (Canon) |
on Feb 06, 2016 at 19:23 UTC ( [id://1154577]=note: print w/replies, xml ) | Need Help?? |
First off, the confusion later down the road by using my code below isn't remotely close to being worth saving a few keystrokes, but to answer your question, you can use a typeglob, and wrap the call within an anonymous sub. Note how I pass in the parameters (@_) through the anonysub and directly into the original call:
In Section
Seekers of Perl Wisdom
|
|