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!In reply to Re^2: Advanced subroutine and symbol table manipultation
by Tuppence
in thread Advanced subroutine and symbol table manipultation
by Tuppence
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |