open (PASSWORD, ">>/home/alex/public_html/.htpasswd") || die "Could no +t open password file"; print PASSWORD "$_[0]:" . crypt($_[1], $_[0]) . "\n"; close PASSWORD;
Edited by mirod: added <code> tags around $_[.]
In reply to crypt question by fastkeys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |