MJG wrote: > For those of you that are big fans of this, I see value in using it. > > How would I set this situation up: > > $List{$key}=...code > > Do I do this > > my $List = ''; my $key = ''; > > This doesn't seem to make sense though.
I usually place the variable definitions just before the first place they are use. So an example : my %List = (); # use can also just say 'my %List;' for brevity ... do stuff here like building %List my $key = 'get key from somehwere'; $List{$key} = 'whatever'; -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs