in reply to Re: Doubley surprised by fat commas
in thread Doubley surprised by fat commas
Except that => => (to which I assume you're referring) does not disable leftward stringification by => as ,=> does:
(Same results for Strawberry 5.30.3.1 (64).)Win8 Strawberry 5.8.9.5 (32) Thu 06/10/2021 9:48:30 C:\@Work\Perl\monks >perl -Mstrict -Mwarnings use Data::Dump qw(dd); use constant APPLE => 1; my %heesh = (APPLE => => 'red'); dd \%heesh; my %hash = (APPLE , => 'red'); dd \%hash; ^Z { APPLE => "red" } { 1 => "red" }
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Doubley surprised by fat commas
by jo37 (Curate) on Jun 10, 2021 at 19:37 UTC |