Loading ...
Sorry, an error occurred while loading the content.

Re: CGI::Carp

Expand Messages
  • Arshavir Grigorian
    ... In case anyone is curious, it was a Perl bug (#36521) and has now been fixed.
    Message 1 of 40 , Jul 26, 2005
    • 0 Attachment
      Arshavir Grigorian wrote:
      > Hello list,
      >
      > Not sure when this started happening, but at some point calling
      > CGI::Carp::carp() started resulting in deep recursion within
      > CGI::Carp::warn() eventually killing the process. I think the recursion
      > is caused by the following:
      >
      > $main::SIG{__WARN__}=\&CGI::Carp::warn;
      >
      > sub realwarn { CORE::warn(@_); }
      >
      > sub warn {
      > ...
      > return realwarn $message;
      > }
      >
      > Is this a bug in the code or am I reading this wrong?

      In case anyone is curious, it was a Perl bug (#36521) and has now been
      fixed.
    • Arshavir Grigorian
      ... In case anyone is curious, it was a Perl bug (#36521) and has now been fixed.
      Message 40 of 40 , Jul 26, 2005
      • 0 Attachment
        Arshavir Grigorian wrote:
        > Hello list,
        >
        > Not sure when this started happening, but at some point calling
        > CGI::Carp::carp() started resulting in deep recursion within
        > CGI::Carp::warn() eventually killing the process. I think the recursion
        > is caused by the following:
        >
        > $main::SIG{__WARN__}=\&CGI::Carp::warn;
        >
        > sub realwarn { CORE::warn(@_); }
        >
        > sub warn {
        > ...
        > return realwarn $message;
        > }
        >
        > Is this a bug in the code or am I reading this wrong?

        In case anyone is curious, it was a Perl bug (#36521) and has now been
        fixed.
      Your message has been successfully submitted and would be delivered to recipients shortly.