in reply to Unable to run or troubleshoot a script...

It works fine for me,
$ perl todo.pl larry lingo larry:finish autostory program:3 larry:read about file i/o:2 $ perl todo.pl tom tonic tom:order 12 gallons of Vitalis:1 tom:get more paper for clipboard:3 $ perl todo.pl ellie plasma ellie:find planet-related websites:2
Can you add the username in the error message so you'd know which user failed the password validation?
die "cannot validate user password for $uname\n\t" if $passwd ne $ubase{$uname};
Also, do you have problem with strict and warnings?

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Replies are listed 'Best First'.
Re^2: Unable to run or troubleshoot a script...
by cgmd (Beadle) on Jun 26, 2007 at 03:14 UTC
    This shows one of the username password combos I tried, and its result with warnings turned on:
    ~/bin/lowe_book/ch07 $ perl todo001.pl ellie plasma Name "main::dummy" used only once: possible typo at todo001.pl line 36 +. cannot validate user password at todo001.pl line 23.
    I have no trouble with using strict and warnings, but this is code as it appears in the text I'm studying.