|Think about Loose Coupling|
Re: Problem with programby CountZero (Bishop)
|on Jan 03, 2013 at 21:18 UTC||Need Help??|
It is not a perl-error. Your script died because the supplied session data is not in the correct format (it is probably empty or NULL), hence line 40 was triggered and that just died your script. It is actually a safeguard to protect against invalid session data, so Perl may have saved you from worse.
That being said, we cannot see what caused this invalid session data: it might be a filesystem or database problem. Some network or DB-admin needs to look into it.
Another possible "solution" is to delete all cookies for this site on your client PC and log-in again. It may reset your session and issue new session data that allows you back in. It will not solve the fact that probably your database now contains some rubbish data you may have to delete manually.
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey JamesMy blog: Imperial Deltronics