in reply to Perl/Tk Oddities

3) This isn't Perl/Tk specific, but I feel dumb that I haven't figured out how to do this yet: is there a way to create a file of constants like a C ".h" file would contain?

Your best bet is to write them into a module.

Or you can just dump them in a YAML or XML file and use a module to read those.

Replies are listed 'Best First'.
Re^2: Perl/Tk Oddities
by TomKane (Beadle) on Apr 13, 2008 at 15:28 UTC
    I guess the module that works as read-only would be the ticket. It's a little clumsy though. But thanks.