gwhite has asked for the wisdom of the Perl Monks concerning the following question:
I have a module that creates a bunch of constant values which I can refer to elsewhere in my application along the line of if($foo eq ALWAYS)... for documentation sake I would like to have a little script that loads the module and prints all the constants and their values. I have several installations with the module in place, so I really don't want to do it in the module itself. Just a few liner to dump the constant name and its values, but I can't figure out what to do after use strict; can anybody give me a decent push?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Listing all Constants and values
by broquaint (Abbot) on Oct 11, 2003 at 00:30 UTC | |
|
Re: Listing all Constants and values
by Zaxo (Archbishop) on Oct 10, 2003 at 23:59 UTC | |
|
Re: Listing all Constants and values
by chromatic (Archbishop) on Oct 10, 2003 at 23:59 UTC |