|There's more than one way to do things|
Re: Re: Strange behaviour in Apache::Htpasswd::htpasswd()by George_Sherston (Vicar)
|on Oct 25, 2002 at 12:33 UTC ( #207971=note: print w/replies, xml )||Need Help??|
Thanks very much for that. Alas, when I run it on my machine I get the same problem. My output is:
Also, when I comment out your last line and then examine the password file itself I find
... which is the same prob I got before.
Perhaps it's a version problem. I have Apache::Htpasswd v 1.5 and Test::More v 0.33. Also, I don't have method diag, which I'm substituting with die - this in itself wouldn't account for why it's not working for me, but might point to the difficulty. Except, I am guessing diag is a Test::More method?
insta-update..Aha! It *was* a version problem. I installed v 1.5.5 and now get the right result from your script... and I doubt not, also from the script that was giving me trouble...
insta-update 2Yes! It works now. Thanks very much - I'm most grateful.
§ George Sherston
In Section Seekers of Perl Wisdom