Output:my $string = "millenium"; my @list = ( $string =~ m/./g ); foreach my $char (@list) { print "$char\n"; }
m i l l e n i u m
In reply to Re: Arrays and strings
by choocroot
in thread Arrays and strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |