[Pdx-pm] Hash question
Todd Caine
tcaine at eli.net
Mon Nov 24 16:46:12 CST 2003
It's called a hash slice.
http://tlc.perlarchive.com/articles/perl/ug0001.shtml
On (Mon, Nov 24 14:00), Roderick A. Anderson wrote:
> > > @SignUpInfo{keys %tmp} = values %tmp;
>
> Now trying to put this in place I'm confused as hell. Shouldn't this be
>
> $SignUpInfo{keys %tmp} = values %tmp;
>
> I know perl usually does the right thing with what it's handed but I
> really don't understand the @something{} verses the $something{} here.
> Do the curly braces over-ride(?) the at-symbol?
More information about the Pdx-pm-list
mailing list