-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inconsistent block/hash detection (again) #15918
Comments
From @rjbsI realize that the block/hash issue has had a lot of ink spilled over it, but ~$ perl -MData::Dumper -E 'say Dumper([ map {; { 1 => $_ } } qw(cat) ])' ~$ perl -MData::Dumper -E 'say Dumper([ map {; { $_ => 1 } } qw(cat) ])' The inside {...} in these two are interpreted differently based on whether the (Yes, I know you can force the issue with a unary plus.) -- |
From @iabynOn Wed, Mar 08, 2017 at 11:13:03AM -0800, Ricardo SIGNES wrote:
I don't see that as being particularly surprising. The rule appears to be: -- |
The RT System itself - Status changed from 'new' to 'open' |
From @rjbs* Dave Mitchell <davem@iabyn.com> [2017-03-29T09:02:57]
I guess the reason I was surprised is that I don't know what the rule is, nor If nobody else has a good idea for making this clearer in docs or anything -- |
From @xsawyerxOn 07/07/2017 04:46 PM, Ricardo Signes wrote:
There's no reason to not make it clearer in the docs. Or, rephrasing: Also: $ perl -MData::Dumper -E 'say Dumper([ map {; { "$_" => 1 } } qw(cat) ])' |
From zefram@fysh.orgRicardo Signes wrote:
The actual rule is hideous. We shouldn't attempt to explain it; we should -zefram |
From @demerphqOn 11 Jul 2017 00:22, "Zefram" <zefram@fysh.org> wrote: Ricardo Signes wrote:
The actual rule is hideous. We shouldn't attempt to explain it; we should Hear hear. Abigail does this. Yves |
From @AbigailOn Tue, Jul 11, 2017 at 07:05:34PM +0200, demerphq wrote:
Only when Perl gets it wrong, of if I'm not sure Perl will get it right. Abigail |
From zefram@fysh.orgI wrote:
This is already documented pretty clearly in perlref(1). I've added a -zefram |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130958 (status was 'resolved')
Searchable as RT130958$
The text was updated successfully, but these errors were encountered: