fastkeys has asked for the wisdom of the Perl Monks concerning the following question:
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 $_[.]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: crypt question
by merlyn (Sage) on Mar 05, 2001 at 05:18 UTC | |
|
Re: crypt question
by dvergin (Monsignor) on Mar 05, 2001 at 06:45 UTC | |
|
Re: crypt question
by jeorgen (Pilgrim) on Mar 06, 2001 at 01:20 UTC |