Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Copy a builtin sub to a different name and then override (robust)

by LanX (Saint)
on Jun 02, 2018 at 18:34 UTC ( [id://1215755]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $actual_sleep = exists &CORE::GLOBAL::sleep    # already overridden
    + ?
                     ? \&CORE::GLOBAL::sleep
                     : \&CORE::sleep
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-25 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found