in reply to Undefined Subroutine &main::unix_md5_crypt
Is the web application using the same perl (and perl library), @INC settings, PERL5LIB environment variable, etc as your command line?
--MidLifeXis