bichonfrise74 has asked for the wisdom of the Perl Monks concerning the following question:
What I'm hoping is something like this which doesn't work.my %list = ( 'test' => [ 'aa', 'bb' ]) );
Any ideas? I'm sure it is simple, I just couldn't figure it out.my %list = ( 'test' => q([ aa bb ]) ); my %list = ( 'test' => q[ aa bb ] );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Quotes in Hashes of Array
by toolic (Bishop) on Jul 16, 2009 at 00:20 UTC | |
|
Re: Quotes in Hashes of Array
by LanX (Saint) on Jul 16, 2009 at 00:29 UTC | |
|
Re: Quotes in Hashes of Array
by bichonfrise74 (Vicar) on Jul 16, 2009 at 00:31 UTC |