in reply to Re: Birthday List
in thread Birthday List
It took me looking back through my book to understand exactly how that works;however, I still have one question about that. I want to create a key that's not the name or the birthday. I'm aware of people with the exact same name so having their names being the key to access them by would be a bad thing. Now, I'm not into accessing an actual database yet but from what I'm aware of through using PHP, an array of associative arrays would help to solve the problem of creating the extra key. Unfortunately oh great one, I'm not sure that I comprehend doing this in Perl.open(IN, $db_file) || die "Cannot read '$db_file': $!\n"; my %birthdays = map { chomp; split ':' } <IN>; close IN;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re3: Birthday List
by dragonchild (Archbishop) on Sep 01, 2003 at 19:19 UTC |