Do you know where your variables are? | |
PerlMonks |
question on constantsby smackdab (Pilgrim) |
on Jan 01, 2002 at 08:08 UTC ( [id://135489]=perlquestion: print w/replies, xml ) | Need Help?? |
smackdab has asked for the wisdom of the Perl Monks concerning the following question:
From PerlDoc: "Symbols are package scoped. That is, you can refer to a constant in package Other as Other::CONST." I defined:
This didn't work for me. I switched it to a $variable, which did work, so I don't think it is a typo... I saw a web site mention using "my", so I tried: thanks for any suggestions
Back to
Seekers of Perl Wisdom
|
|