for (grep /(?<!main)::/, keys %::) { # do stuff... } [download]
In reply to Re^3: Exported subroutine redefine by educated_foo in thread Exported subroutine redefine by ribasushi