Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Aliasing Module->method

by gerases (Sexton)
on Feb 06, 2016 at 23:17 UTC ( #1154584=note: print w/replies, xml ) Need Help??


in reply to Re: Aliasing Module->method
in thread Aliasing Module->method

Yeah, I wanted to alias the method call to a symbol within my program so I didn't have to type that much. So if the original is Time::Piece->strptime ... I wanted it to become: x->strptime. But on second thought, I of course could have created an object for Time::Piece and called strptime on the object. Didn't occur to me at the time I was writing it. I thought strptime was a CLASS method. All is good, thank you for making me think!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1154584]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2022-07-02 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (103 votes). Check out past polls.

    Notices?