Development Environment - OS X 10.10.3, Perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail)
Here is the problem
I migrated the project from the local environment to Windows Server, and now I get the following error:
"on the link are experimental on the CGI / Router.pm 94 line.
module line 94 shows
my $num_regexes = scalar keys $token_regexes;
the whole module can be found here https://github.com/kristiannissen/CGIRouter
I create an instance of the router module as follows
$router->add_route( 'GET', '/home', sub { print header( -type => 'text/html', -charset => 'utf-8' ); print "Hello Pussy"; });
I do not have this problem locally, but now when I switch to the production server, I get this problem. From what I can tell, this is related to a specific version of Perl, but before I ask the provider to update Perl, I would like if I can do something to avoid this problem?
source share