Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 chanting in the Monastery: (5)
As of 2015-03-01 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (18 votes), past polls