I've run into another strange problem that I don't understand. Running the script below produces the output "Perl v5.26.1". However, if I add the line: use CGI::Carp qw(fatalsToBrowser); it produces a 500 error.
On the shared server, this worked as it should, with 'fatalsToBrowser' showing any errors. But the VPS is just backwards - adding it crashes the script! This actually happens with any module and, yes, they are installed: > cpanm install CGI::Carp install is up to date. (0.01) CGI::Carp is up to date. (4.38) I have been fighting with this VPS setup for almost 2 weeks now just to get a functioning modern Perl environment and I'm about at my wits end. It shouldn't be this hard. I'd appreciate any help. Thanks, Frank #!/home/user/perl5/perlbrew/perls/latest/bin/perl use v5.26; use warnings; use diagnostics; print "Content-type: text/html\n\n"; say 'Perl '. $^V; -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/