use strict; use Data::Dumper; my @list = ("abcdef" =~ /(.)./g); print Dumper \@list; (my ($first)) = @list; print "$first\n"; # in one step (my $first) = ("abcdef" =~ /(.)./g);
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
In reply to Re^2: What is this line doing in the perl script?
by codeacrobat
in thread What is this line doing in the perl script?
by anakin30
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |