On 7 Oct 2016, at 02:24, Kent Fredric <kentfredric@gmail.com> wrote: > > On 7 October 2016 at 10:20, Sam Kington <sam@illuminated.co.uk> wrote: >> does more than just mean you don’t have to quote the lhs; it makes sure that the things you thought would be in pairs, actually were in pairs. > > Have you tried PerlX::Maybe as an alternative? > > https://v1.metacpan.org/pod/PerlX::Maybe > > As far as I can tell, this solves all the problems you're asking for: > > - Still uses left-side-quoting > - Enforces scalar context on right operand ( I think ... ) > - Removes both the key and value if the value if undef > > But is clever enough to not need new core functionality or more abuse > of punctuation. Ahah! That is indeed interesting and potentially useful. Thank you; I shall look at it. Sam -- Website: http://www.illuminated.co.uk/Thread Previous