Re: More Jump Shots ;-) [Was Re: arrays and hashes]

2003-06-04 Thread Kevin Pfeiffer
In article <[EMAIL PROTECTED]>, Tassilo Von Parseval wrote: [...] > If you from then on referred to elements of the hash with something like > > $score_ref->{ key }; > > then this would be it. It depends on what you want. By dereferencing the > whole data-structure you're essentially creating

Re: More Jump Shots ;-) [Was Re: arrays and hashes]

2003-06-04 Thread Tassilo von Parseval
On Tue, Jun 03, 2003 at 08:36:05PM +0200 Kevin Pfeiffer wrote: > Since it seemed like a nice exercise to work on I played with this some > myself. Goals being to try to avoid global variables, use subroutines and > keep MAIN 'uncluttered' and pass arguments to subs as needed. > > I think I did

More Jump Shots ;-) [Was Re: arrays and hashes]

2003-06-04 Thread Kevin Pfeiffer
Since it seemed like a nice exercise to work on I played with this some myself. Goals being to try to avoid global variables, use subroutines and keep MAIN 'uncluttered' and pass arguments to subs as needed. I think I did okay (holding breath), but I'm wondering about things like: my @sorted_ke