Re: Declaring constant

2004-07-04 Thread Charles C. Fu
On Jul 3, 2004, at 17:53, David Arnold wrote: use constant SECRET_LENGTH => 14; Anyone have any pointers to an explanation of this syntax? Run "man constant". -ccwf -- Charles C. Fu Founder Web i18n, LLC www.web-i18n.net -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.a

Re: Declaring constant

2004-07-03 Thread Stas Bekman
David Arnold wrote: All, I don't believe I've seen this syntax before? use constant SECRET_LENGTH => 14; Anyone have any pointers to an explanation of this syntax? http://perldoc.com/perl5.8.4/pod/perldata.html#List-value-constructors It is often more readable to use the => operator between key/va

Declaring constant

2004-07-03 Thread David Arnold
All, I don't believe I've seen this syntax before? use constant SECRET_LENGTH => 14; Anyone have any pointers to an explanation of this syntax? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/m