On Sun, 26 Mar 2017 11:28:44 -0700 SSC_perl <p...@surfshopcart.com> wrote:
> > On Mar 25, 2017, at 8:58 PM, Jim Gibson <jimsgib...@gmail.com> > > wrote: > > > > You could also try overriding the supplied function of the imported > > module with your own version (not sure exactly how that is done). > > Hmm… me neither, but it’s a good idea. I’ll contact the > maintainer of CGI::Carp to see if that could be added as a feature. In Perl, anything is possible. I haven't tried anything like this but it would mean replacing the subroutine after the module was loaded. This is untested. use CGI::Carp; { no warnings; local *CGI::Carp::stamp = sub { # new code } } -- Don't stop where the ink does. Shawn H Corey -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/