BEGIN {
eval{
use warnings;
use strict;
use Carp;
use CGI::Carp qw{ fatalsToBrowser };
use CGI qw{ :standard :form };
}
}
I am developing a perl application in 5.6.1 for a system that is 5.005. However, we do have a 5.6 system, and I am hoping that we will have several more relatively soon. What I'm trying to accomplish here is throw the pragmas and modules in the eval block so that perl 5.5 wont whine about them. However, I am still getting a fatal error about not being able to find warnings.pm. How can I get around this?
thanks
brother dep.
--
Laziness, Impatience, Hubris, and Generosity.