Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^6: A DWIM too far?

by BrowserUk (Patriarch)
on Jun 18, 2004 at 02:01 UTC ( #367835=note: print w/replies, xml ) Need Help??


in reply to Re^5: A DWIM too far?
in thread A DWIM too far?

Actually, I got the CORE and GLOBAL the wrong way around. It should be

*GLOBAL::CORE::rename = \&myrename;

Or to do it in one step something like

sub CORE::GLOBAL::rename{ system "ren $_[ 0 ], $_[ 1 ]"; return $? >> 8; }

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-05-29 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?