Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Answer: How do I get a reference to a builtin function?

( #65924=categorized answer: print w/ replies, xml ) Need Help??

Q&A > references > How do I get a reference to a builtin function? contributed by dws

I don't know of a way to do that. But perhaps you'd find the following solution acceptable: writing your own wrapper functions to which you can refer.

my %op = ( 'toupper' => sub { uc shift }, ... );

Comment on Answer: How do I get a reference to a builtin function?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-07-04 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls