Re: #defines ? or Constant Data in perl ?

2002-10-04 Thread Andie Kirkpatrick
e only the laws of physics break down HTH Andie > - Original Message - > From: "Story, Lenny" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 23, 2002 7:23 PM > Subject: #defines ? or Constant Data in perl ? > > > > Gre

#defines ? or Constant Data in perl ?

2002-09-23 Thread Story, Lenny
Greetings, Is there some such way to define a constant, or #define style variable in perl ? I typically have the need to define data which is just to eliminate the need for "magic" numbers etc. thus far i have just defined variables such as : my $WELCOME_MSG = "Hello!"; print $WELCOME_MSG;