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
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
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
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
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
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
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.
>
>
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