tos has asked for the wisdom of the Perl Monks concerning the following question:
produces$s="1 x 2 y"; @a = $s; %h = @a; print "\$s: $s\n"; print "\@a: @a\n"; print "\%h: %h\n"; print "\%h: ", %h, "\n";
why that ?$s: 1 x 2 y @a: 1 x 2 y %h: %h %h: 1 x 2 y
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: hashes and quotation marks
by pfaut (Priest) on May 16, 2003 at 12:07 UTC | |
|
Re: hashes and quotation marks
by davorg (Chancellor) on May 16, 2003 at 12:39 UTC | |
by tos (Deacon) on May 16, 2003 at 13:24 UTC | |
|
Re: hashes and quotation marks
by Skeeve (Parson) on May 16, 2003 at 12:21 UTC | |
|
Re: hashes and quotation marks
by Rhandom (Curate) on May 16, 2003 at 15:16 UTC |