[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] crypt and excessive paranoia



I am trying to write a small program that will read login, passwd from 
.htaccess. Prototyping on my mac with the test program:
#!/usr/bin/perl
$count = 1;
while ($count <= 600) {
        $randnum = int ( rand (600) ) + 1;
        $password = crypt ($randnum, $count);
        print "$count E$randnum, $password \n";
        $count++;
}
mac perl responds "# The crypt() function is unimplemented due to 
excessive paranoia.."

However, UNIX PERL works!

Why doesn't Mac Perl work?  Am I excessively paranoid?
______________________________________________________________________________
------------------------------------------------------------------------------

Shawn Knittle                                           home:  (303)364-5063
3009 Ursula Street          Wasting I-SPace             fax:   upon request
Aurora, CO  80011                                       work:  (303) varies
                   mailto:sdknittl@ouray.cudenver.edu
                   http://ouray.cudenver.edu/~sdknittl
                    http://www.cudenver.edu/~sdknittl
_____________________________________________________________________________
-----------------------------------------------------------------------------