Perl's rpm version differs from "perl -v" – CentOS
I work on CentOS 7 and it seems I have a problem with perl. I need perl at least 5.10 for a project. When i : perl -v I get a message describing a perl v5.8.9 but when i rpm…
I work on CentOS 7 and it seems I have a problem with perl. I need perl at least 5.10 for a project. When i : perl -v I get a message describing a perl v5.8.9 but when i rpm…
I have a server running Perl and an Apache web server. I wrote a script which closes running instances of perl.exe and then launches them again, with some system() commands. When I try and run it from a browser it…
For my little Javascript app I wrote serverside API function with CGI. I made it very simple, and full example script looks like that: #!/usr/bin/env perl use strict; use warnings; use 5.014; use CGI; use JSON; use Data::Dumper; my $q…
I am try to install DBD-SQLite V1.70 module of perl in centos7. I have tried cpanm DBD::SQLite or download from the https://metacpan.org/dist/DBD-SQLite. every time will be install error in "DBI 1.57 is required to configure this module; please install it…
We are trying to pass multiple hashes together with bunch of scalars as arguments to a subroutine. The problem is in multiple calls of this subroutine, ( and if we print the two hashes after we retrieved them inside the…
I've struggled with this for two days, searching online for clues and answers, and found very little that is applicable to Mac and to CGI scripts. As I'm getting a 500 error, it could be many possible problems, but I…
I'm trying to install a customised openresty on a Centos7 VM. sudo rpm -i openresty-1.19.3.1-1.el7.x86_64.rpm However I get this error: perl(Test::Nginx::Socket::Lua) is needed by openresty-1.19.3.1-1.el7.x86_64 perl(Test::Nginx::Socket::Lua::Stream) is needed by openresty-1.19.3.1-1.el7.x86_64 But I already had those dependencies installed with cpan, and…
I have migrated my scrilpts from CentOS 7 to 8 and there's a new Perl version. I have the folowing snippet that uses head to check if a URL exists: #!/bin/perl use strict; use warnings; use LWP::Simple; my $sitemapurl =…
I'm working on a windows 10/Apache/dHTML (Perl) platform trying to upload an .HTML file. I have a form that allows me to browse to select the file I want to upload. The form line follows. <FORM encTYPE='multipart/FORM-data' ACTION='uploadx.cgi' NAME='ManMe' METHOD='POST'…
I have a bigger multidimensional hash which consist of hashes and array within it, I'm able to get the array of hashes out of that which is only useful of the entire larger hash, now I'm trying to print a…