in reply to Duplicating Pascal's with statement in Perl for anonymous data structures

Is this close enough?
for ($anonhash) { $_->{$name} = 'dave'; $_->{$city} = 'San Francisco'; # etc }

Caution: Contents may have been coded under pressure.
  • Comment on Re: Duplicating Pascal's with statement in Perl for anonymous data structures
  • Download Code