in reply to API design - if you're expecting a scalar and an array ....
Look at the calvalcade of closing characters in this single line
# new style, more bracing, more types of bracing, harder to know wha +t to close { my $nest = $o->nest( 'PolicyCoverage', [CurrentlyInsured => Local: +:Util::torf($L->{'insured'})]); # old style - fewer levels of bracing, and fewer types of bracing { my $nest = $o->nest( 'PolicyCoverage', CurrentlyInsured => Local: +:Util::torf($L->{'insured'})) ;
|
|---|