narse has asked for the wisdom of the Perl Monks concerning the following question:
I have an object (Player.pm) that uses Digest::MD5 to encrypt passwords before they are stored in a database. This is the ONLY module that uses Digest::MD5. This non-fatal warning is triggered at some points where this object is passed around in a hash as a method parameter. Menu.pm, line 422 looks like this:(in cleanup) Not a reference to a Digest::MD5 object at /export/home/n +arse/cvs/plord/lib/Games/LORD/Locations/Helper/Menu.pm line 422.
where %args contains the Digest::MD5 using Player object.if ( not defined $input or $input eq "" ) { return $hidden_actions{ DEFAULT } -> ( %args ) }
where $data -> {opponent} is another such Player object. I do not believe the bug occurs until after this point. After this, all Player objects appear to be affected by this bug. $data -> {opponent} is never again used after this point so it is not a simple issue of undefined values.delete $data -> {opponent};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (in cleanup)
by pzbagel (Chaplain) on Sep 04, 2003 at 21:57 UTC | |
by narse (Pilgrim) on Sep 04, 2003 at 22:07 UTC | |
|
Re: (in cleanup) (d'tor order)
by tye (Sage) on Sep 05, 2003 at 04:55 UTC | |
|
Re: (in cleanup)
by narse (Pilgrim) on Sep 04, 2003 at 23:06 UTC |