Re: Module submission Devel::Constants

2001-10-12 Thread Tim Bunce
On Thu, Oct 11, 2001 at 06:28:01PM -0600, chromatic wrote: > On Thursday 11 October 2001 14:32, Tim Bunce wrote: > > > BTW, the Devel:: namespace isn't right for this. Devel:: is for > > development-time tools, not run-time. > > That makes sense. What would you suggest? > > My first thought wa

Re: Module submission Devel::Constants

2001-10-11 Thread chromatic
On Thursday 11 October 2001 14:32, Tim Bunce wrote: > BTW, the Devel:: namespace isn't right for this. Devel:: is for > development-time tools, not run-time. That makes sense. What would you suggest? My first thought was constant::flags, but that's the pragma namespace. Something like Consta

Re: Module submission Devel::Constants

2001-10-11 Thread Tim Bunce
BTW, the Devel:: namespace isn't right for this. Devel:: is for development-time tools, not run-time. Tim. On Tue, Oct 09, 2001 at 08:23:12PM -0600, chromatic wrote: > On Tuesday 09 October 2001 20:17, Kirrily Robert wrote: > > > >Devel::Constants captures constant declarations (with the co

Re: Module submission Devel::Constants

2001-10-10 Thread chromatic
On Wednesday 10 October 2001 20:43, Matthew Sachs wrote: > chromatic writes that he wants to have something similar to 'use > constant', but which also lets you get the name of the constant - not > just its value. He goes on to discuss the implementation: > I usually use dualvar from Scalar::Ut

Re: Module submission Devel::Constants

2001-10-10 Thread Matthew Sachs
chromatic writes that he wants to have something similar to 'use constant', but which also lets you get the name of the constant - not just its value. He goes on to discuss the implementation: > > My solution is to overload constant::import, stashing away the names > and values, so they can be f

Re: Module submission Devel::Constants

2001-10-09 Thread chromatic
On Tuesday 09 October 2001 20:17, Kirrily Robert wrote: > >Devel::Constants captures constant declarations (with the constant > >pragma), allowing values to be resolved to their symbols at runtime. > >It has a special method to resolve bitwise flag markers, such as > >those found

Re: Module submission Devel::Constants

2001-10-09 Thread Kirrily Robert
In perl.modules, you wrote: > rationale: > >Devel::Constants captures constant declarations (with the constant >pragma), allowing values to be resolved to their symbols at runtime. >It has a special method to resolve bitwise flag markers, such as >those found in a TCP packet. > >

Module submission Devel::Constants

2001-10-09 Thread Perl Authors Upload Server
The following module was proposed for inclusion in the Module List: modid: Devel::Constants DSLIP: bdpfp description: Resolve Constants back to their names userid: CHROMATIC (chromatic) chapterid:3 (Development_Support) communities: http://perlmonks.org/index