On Sat, Mar 09, 2013 at 08:19:43PM -0600, Chris Stinemetz wrote:
> I don't think that is true.
> 
> Example being:
> 
> #!/usr/bin/perl
> use warnings;
> use strict;
> 
> use Data::Dumper;
> 
> my $firstVar = "One";
> my $secondVar = "Two";
> 
> my @array;
> push @array,[$firstVar, $secondVar];
> 
> print Dumper \@array;
> 
> for my $item ( @array ) {
>   print join("\t", @$item[0], @$item[1]), "\n";
> }
> 
> 
> ## output ##
> 
> $VAR1 = [
>           [
>             'One',
>             'Two'
>           ]
>         ];
> One Two

I do not see the point you are trying to make. You created a
named array, stuffed an anonymous array ref into it, and then
printed its elements out (in a somewhat odd way). What does this
demonstrate?

Regards,


-- 
Brandon McCaig <bamcc...@gmail.com> <bamcc...@castopulence.org>
Castopulence Software <https://www.castopulence.org/>
Blog <http://www.bamccaig.com/>
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'

Attachment: signature.asc
Description: Digital signature

Reply via email to