Hi.
OpenBSD does not work crypt.
Does it depends on OSes ?
Do you know why I can not use it ?
 
Perl uses the following crypt?
 
# My crypt.pl
use strict;
use warnings;
use v5.10;
say crypt("Ava Max", "Salt");
 
 
FreeBSD works crypt.pl
% perl -v
This is perl 5, version 36, subversion 3 (v5.36.3) built for amd64-freebsd-thread-multi
 
% perl crypt.pl
Sasi0YO57eKNE
 
OpenBSD does not works crypt.pl
 
OpenBSD$ perl -v
 
This is perl 5, version 36, subversion 3 (v5.36.3) built for amd64-openbsd
 
OpenBSD$ perl crypt.pl                                                         
Use of uninitialized value in say at crypt.pl line 4.
 
OpenBSD$
 
I got a empty line. As it didn't work, I installed perl from source code.
 
 
OpenBSD$ /home/masayoshi/localperl/bin/perl -v
 
This is perl 5, version 38, subversion 2 (v5.38.2) built for OpenBSD.amd64-openbsd
 
OpenBSD$ /home/masayoshi/localperl/bin/perl crypt.pl  
Use of uninitialized value in say at crypt.pl line 4.
 
OpenBSD$
 
  • crypt Masayoshi Fujimoto

Reply via email to