The constant.pm pragma creates entries in the symbol table. How is this not a global effect?
> -----Original Message----- > From: Graham Barr [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 13, 2002 4:28 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: new cpan registration > > > On Sat, Apr 13, 2002 at 03:01:02AM -0500, [EMAIL PROTECTED] wrote: > > See http://www.perlmonks.com/index.pl?node_id=156106. > > > > >From the POD: > > > > This pragma performs the same function as the use constant > pragma, however, > > it will also export constants to other modules namespaces. > > Pragmas should not have global effects > > I don't think define is a good name for this as I dont think it > should be considered a pragma. > > Graham. > > > > > > -----Original Message----- > > > From: Graham Barr [mailto:[EMAIL PROTECTED]] > > > Sent: Saturday, April 13, 2002 2:55 AM > > > To: [EMAIL PROTECTED] > > > Cc: [EMAIL PROTECTED] > > > Subject: Re: new cpan registration > > > > > > > > > On Fri, Apr 12, 2002 at 08:21:48PM -0500, [EMAIL PROTECTED] wrote: > > > > name: Gary Gurevich > > > > email: [EMAIL PROTECTED] > > > > cpan id: ggurevich > > > > > > Added. > > > > > > > contribution: define.pm - pragma for declaring global constants > > > > .... and more > > > > > > How is it different from constant.pm ? > > > > > > Graham. > > > > > > > > > >