in reply to Re: Accessing constants via symbol table possible?
in thread Accessing constants via symbol table possible?

Unfortunately your snippet will report subroutines that aren't constants as constants. Try adding
my $foo = 1; sub foo () { $foo++ }
ihb

Replies are listed 'Best First'.
Re: Re: Re: Accessing constants via symbol table possible?
by PodMaster (Abbot) on Feb 07, 2003 at 17:18 UTC
    I know (that can only be determined through constant.pm like you know). You should've mentioned the fact that I completely missed the question.

    update: you see me saying you in italycs like that, imagine i'm nodding at you as I say it, mmkay.

    Also, chromatic also likes the Devel:: namespace ;)


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    ** The Third rule of perl club is a statement of fact: pod is sexy.