You can do something like
use Data::Dumper; my $string = Dumper \@array;
Which represents an array as a string, but it doesn't use a hash (at least not visibly).
Could you rephrase your question, and provide one or two examples what the result should look like?
In reply to Re: Mapping an array to a string
by moritz
in thread Mapping an array to a string
by chuck_norris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |