http://qs1969.pair.com?node_id=343822


in reply to Re: RE: RE: RE: RE: Passing named parameters
in thread Passing named parameters

I assume that "is the same as a('beer', none)" is a typo, ... and that you meant "is the same as a('-beer', 'none')"

And since we are clarifying ... the '-' is part of the key (or the first argument, depending on how you look at it).
bash$ perl -w -Mstrict -MData::Dumper -e \ "print Dumper( { -name => 'foo', -value => 'bar' } );"
Results:
$VAR1 = { '-name' => 'foo', '-value' => 'bar' };