Just another Perl shrine | |
PerlMonks |
Re: Reading constantby MaxKlokan (Monk) |
on Dec 09, 2006 at 13:04 UTC ( [id://588791]=note: print w/replies, xml ) | Need Help?? |
If you define HEAD as a constant, then you cannot change it anymore because it is, indeed, a constant. "ABC" is a string and it is its first element. If you first define the constant ABC and then the constant HEAD, then you can do the following: Is this what you wanted?
In Section
Seekers of Perl Wisdom
|
|