N
Neil Shadrach
If I have 2 arrays @k and @v I can initialize a hash %h with
@h{@k}=@v;
If my next step is
push @a,\%h;
is there a neat way to skip creating %h and initialize an anonymous
hash for use in a line like
push @a, {};
( Apologies for reposting via Google but the original doesn't seem to
have made it off the in-house server )
@h{@k}=@v;
If my next step is
push @a,\%h;
is there a neat way to skip creating %h and initialize an anonymous
hash for use in a line like
push @a, {};
( Apologies for reposting via Google but the original doesn't seem to
have made it off the in-house server )