in reply to simple wordlist password test

I don't quite follow what you're trying to do (wouldn't the content of $passc depend on the salt used to encrypt it?), but does adding these two chomps help?

print 'enter password hash file: '; open(PASSC, <STDIN>) or die "cannot open password file: $!\n"; chomp( $passc = <PASSC> ); print 'enter wordlist: '; open(PASSF, <STDIN>) or die "cannot open wordlist file: $!\n"; chomp( @list = <PASSF> );

the lowliest monk