> Since you are only using the keys why are you
> comparing against the values as well?
That would be because I was silly and tried to reuse code from an earlier
part of the program where I was comparing against the values as well. ;)
Both of you, thanks for your help. After a little fiddling I
Jolinar Of Malkshur wrote:
>
> Ok, this still deals with that Perl class I'm taking, so be warned. And
> please don't laugh at my coding, I'm very new to Perl, so it's bound to look
> pathetic to those of you who have been doing this longer.
>
> My problem is this:
>
> I'm taking the results f
> My problem is this:
>
> I'm taking the results from a hash search (that determines if a particular
> student name and password combination is valid) and passing it to another
> hash search (which is part of an if loop), which is supposed to print out
> the assignments for the student. That wor
Ok, this still deals with that Perl class I'm taking, so be warned. And
please don't laugh at my coding, I'm very new to Perl, so it's bound to look
pathetic to those of you who have been doing this longer.
My problem is this:
I'm taking the results from a hash search (that determines if a part