Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by dws (Chancellor)
on Mar 21, 2001 at 04:51 UTC ( #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?
[LanX]: White House indicates it could find funds to train 1 million teachers ...
[LanX]: ...no wait
[LanX]: White House indicates it could find funds to train and arm 1 million teachers!
LanX relieved...
[Discipulus]: too much guns in schools? throw more gun at schools! professors in arms

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2018-02-23 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (301 votes). Check out past polls.

    Notices?