I have a small Perl program that I want to run on the command line. I need requireanother Perl script (not a module) that someone else wrote. These, in turn, are requiresome other scripts. (I can't do anything about how this works).
Now, really annoying that one of these scripts is use CGI;, and use CGI::Carp qw(fatalsToBrowser)in him. I dont need it. Having 15 lines 500 Internal Server Error pageon my console every time something breaks is really on my nerves. I tried
require 'otherscript.pl';
no CGI;
no CGI::Carp;
and
no CGI;
no CGI::Carp;
require 'otherscript.pl';
to unload it, for example, use a document , but it does not work.
- - , ?