From: Rob Richardson <[EMAIL PROTECTED]>
> The line of code that is supposed to add the new User object to the
> 'users' hash of the UserList object is:
>
> $self->{'users'}->{$loginName} = $user; #<== This is line 47
>
> The error message is:
> "Can't use string ("interrobang") as a HASH ref wh
On Tuesday, Nov 11, 2003, at 10:23 US/Pacific, Rob Richardson wrote:
[..]
The error message is:
"Can't use string ("interrobang") as a HASH ref while "strict refs" in
use at UserList.pm line 47, line 1."
"Interrobang" is the login name of the only user in the data file I am
testing this script aga
On Nov 11, Rob Richardson said:
>$self->{'users'}->{$loginName} = $user; #<== This is line 47
>
>"Can't use string ("interrobang") as a HASH ref while "strict refs" in
>use at UserList.pm line 47, line 1."
>"Interrobang" is the login name of the only user in the data file I am
>testing this scr
Greetings!
I am trying to build a class that has a hash of objects. Specifically,
the class is UserList, a list of users of a system. Users are
represented by instances of the User class. Each user has a login
name, a first name, a last name, a telephone number and an E-mail
address.
The Use