kulls has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone please tell me, why it's not printing 'wet ear rtf'in place of 'ABC' and Is there any way to read the value of that constant array 'ABC' in same way ?? Thanks, -kullsuse strict; use warnings; use constant HEAD => qw/ABC DEF GHI/; use constant ABC=> qw/wet ear rtf/; print $_ foreach(HEAD);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading constant
by Joost (Canon) on Dec 09, 2006 at 12:55 UTC | |
by kulls (Hermit) on Dec 09, 2006 at 13:30 UTC | |
|
Re: Reading constant
by MaxKlokan (Monk) on Dec 09, 2006 at 13:04 UTC |