in reply to Re^4: replacing password in a file
in thread replacing password in a file

That's about right. It's useful for reminders about syntax, but the usage examples are really hit and miss, and this is a good example of a miss. Under usage for crypt(), it begins "The crypt function allows you to encrypt string according to the NBS Data Encryption Standard algorithm, or DES." Whether or not that was true back then (very unlikely considering your research), it isn't true now. Solution is the same: check perldoc.

Dum Spiro Spero