in reply to deleting item from database

I think that line 70, del $list{$username}; should be:     delete $list{$username}; I don't know why you don't get an error from del.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: deleting item from database
by sulfericacid (Deacon) on Jun 21, 2003 at 17:38 UTC
    That was definately the problem, Zaxo. I stepped away from perl for over a month and when I came back I was almost positive Perl made delete so the lazy people could use del instead. I use Primal Script for my editing and it didn't show any errors during a debug there are during a run through the web browser.

    Thank you for your help!

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid

      I always put
      use CGI::Carp qw(fatalsToBrowser);
      in my CGIs, at least while I'm working on them. Makes debugging a whole lot easier.