Gunnar Hjalmarsson wrote:
Concatenation seems like a bad idea. Try:print MY_FIRST_CONSTANT, "\n"; print MyPackage::MY_FIRST_CONSTANT, "\n";
Ee... you mean "." instead of "," right? This: print MY_FIRST_CONSTANT . "\n"; print MyPackage::MY_FIRST_CONSTANT . "\n"; yields this output: MY_FIRST_CONSTANT MyPackage::MY_FIRST_CONSTANT which I would say is even more strange (but I am new to Perl). STF ======================================================================= http://eisenbits.homelinux.net/~stf/ . My PGP key fingerprint is: 9D25 3D89 75F1 DF1D F434 25D7 E87F A1B9 B80F 8062 =======================================================================
signature.asc
Description: OpenPGP digital signature