On 22 November 2011 00:09, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote: > > Is there any defense for these constructions? > > Why shouldn't: > > 1. defined(@arr) and defined(%hash) warn Fair enough. > 2. (@arr // $x) and (%hash // $x) warn Personally i expect this to be parsed as ((scalar(@arr) // $x) ((scalar(%hash) // $x) in which case IMO it should NOT warn. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next