CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Error POSIX.xs has failed to load

 



digioleg54
User

May 11, 2017, 1:21 PM

Post #1 of 3 (1075 views)
Error POSIX.xs has failed to load Can't Post

Dear All,
I understand I am bothering you a lot, but there is some error, which I didn't see before
Below is my program

Code
#!/usr/bin/dwebenv perl 
use strict;
use warnings;

require 'dteacl_b.pl';

my($lib_path,$data_path);
BEGIN{
$lib_path=$ENV{'DWEB_SITE_PATH'};
$data_path=$ENV{'DWEB_SITE_CGI_DATADIR'};
}
use lib $lib_path.'/lib/web';
use strict;
use warnings;

print "Content-type: text/html\n\n";
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks.";
my ($d,$m,$y) = (localtime)[3,4,5];
my $mdy = sprintf '%d/%d/%d', $m+1, $d, $y+1900;


It perfectly works without "require". But with it it shows an error

Code
POSIX.xs has failed to load


In 'dteacl_b.pl we have

Code
use POSIX; 
use Digest::MD5 qw(md5_hex); # perl5.8 build-in
use DBI;


and below a lot of sub. If you want I can put them all, but it more than 1000 lines
Could you please tell me, what happened?

Thanks


Laurent_R
Veteran / Moderator

May 11, 2017, 11:32 PM

Post #2 of 3 (1065 views)
Re: [digioleg54] Error POSIX.xs has failed to load [In reply to] Can't Post

POXIX being a core module, if POSIX refuses to load, then I would think that there must be something really bad in your Perl install. Maybe you want to talk to your sysadmins.


digioleg54
User

May 12, 2017, 7:18 AM

Post #3 of 3 (1060 views)
Re: [Laurent_R] Error POSIX.xs has failed to load [In reply to] Can't Post

thank you

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives