pcouderc has asked for the wisdom of the Perl Monks concerning the following question:
Sorry for my naïve question, but I should expect to get "yy" :
my @b;
my @c={ 22,44,55};
my @d={ "yy","tt"};
$b[0]=@c;
$b[1]=@d;
my @e= $b[1];
print "<$e[0]>\n";
Where am I wrong?
2005-09-29 Retitled by g0n, as per Monastery guidelines
Original title: 'What do i do wrong?'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What do I do wrong? I want an array of arrays
by Tanktalus (Canon) on Sep 27, 2005 at 18:42 UTC | |
|
Re: What do I do wrong? I want an array of arrays
by friedo (Prior) on Sep 27, 2005 at 18:35 UTC | |
by pcouderc (Monk) on Sep 27, 2005 at 18:45 UTC | |
|
Re: What do I do wrong? I want an array of arrays
by sk (Curate) on Sep 27, 2005 at 18:45 UTC | |
|
Re: What do I do wrong? I want an array of arrays
by revdiablo (Prior) on Sep 27, 2005 at 18:48 UTC | |
|
Thank you all
by pcouderc (Monk) on Sep 28, 2005 at 05:36 UTC |