From: Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> > 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.
Whoops. I did not know that. I even did not believe you so I benchmarked it and you are right. That's silly :-( Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]