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? - Answer 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 }, ... );

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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-07-24 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.