On Jan 27, Jenda Krynicky said: >> use constant TEMPLATE => '/usr/lib/templates/foo.html'; >> use File::Copy; >> copy TEMPLATE => $destination; > >I usualy write constants with the &. So that when I make a typo I >get the more understandeable
That kills the constant-ness of them. They have to be seen as barewords for the compile-time replacement of the bareword with its constant value to take effect. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]