yep your right. Type oh. Meant the scalar not the entire hash. :) > -----Original Message----- > From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 7:14 PM > To: [EMAIL PROTECTED] > Subject: Re: Use a hash or multi dimensional array? > > > >>>>> "Paul" == Paul Kraus <[EMAIL PROTECTED]> writes: > > Paul> use a hash for many reasons. Speed the best. > Paul> your main statement would be > Paul> %hash{$variable}++; > > No it wouldn't. Unless you're coding in Perl6 already. :) > > > Maybe you meant $hash{$variable}++; > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - > +1 503 777 0095 <[EMAIL PROTECTED]> > <URL:http://www.stonehenge.com/merlyn/> > Perl/Unix/security consulting, Technical writing, Comedy, > etc. etc. See PerlTraining.Stonehenge.com for onsite and > open-enrollment Perl training! > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]