nysus has asked for the wisdom of the Perl Monks concerning the following question:
...results in nothing getting printed. Why not "47 brown 186"? So the question is, if you really wanted to use symbolic references, what's the syntax?my @john = (47, 'brown', 186); my @mary = (23, 'hazel', 128); my @bill = (35, 'blue', 157); my @vitals = qw(john mary bill); print "@{$vitals[0]}";
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Symbolic references
by tye (Sage) on Jun 26, 2001 at 21:35 UTC | |
by nysus (Parson) on Jun 26, 2001 at 21:42 UTC | |
|
Re: Symbolic references
by Cirollo (Friar) on Jun 26, 2001 at 21:47 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |