[Pdx-pm] Hash question

Roderick A. Anderson raanders at acm.org
Mon Nov 24 16:00:47 CST 2003


On Sat, 22 Nov 2003, Bruce J Keeler wrote:

> You're saying that's cheaper than
> 
> >     @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? 


Rod
-- 
  "Open Source Software - Usually you get more than you pay for..."
   "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"





More information about the Pdx-pm-list mailing list