Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Advanced subroutine and symbol table manipultation

by Tuppence (Pilgrim)
on Jul 16, 2004 at 22:47 UTC ( #375156=note: print w/replies, xml ) Need Help??


in reply to Re: Advanced subroutine and symbol table manipultation
in thread Advanced subroutine and symbol table manipultation

Wow, that's great too. I added a 'use strict' to the top of it and it still works great.

I think I was getting confused because I was under the impression that you must undef the subroutine before you can redefine it, and I was having trouble getting undef $var to not undef $var itself but the function name stored in $var.

Thanks!
  • Comment on Re^2: Advanced subroutine and symbol table manipultation

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://375156]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-10-19 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (257 votes). Check out past polls.

    Notices?