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

Re: [soaplite] turn off the warning "as_string was redefined"

Expand Messages
  • 関村 昌義
    From: Randy J. Ray Subject: Re: [soaplite] turn off the warning as_string was redefined Date: Thu, 1 May 2003 14:09:14 -0700 ... Hi
    Message 1 of 3 , May 1, 2003
    • 0 Attachment
      From: "Randy J. Ray" <rjray@...>
      Subject: Re: [soaplite] turn off the warning "as_string was redefined"
      Date: Thu, 1 May 2003 14:09:14 -0700

      > On Thu, May 01, 2003 at 04:38:47PM +0900, Masayoshi Sekimura wrote:
      > > but it cause the warning as follows:
      > >
      > > "Subroutine SOAP::XMLSchema1999::Deserializer::as_string redefined"
      >
      > Are you running with "-w" (warning enabled)? If so, you can wrap the above
      > assignment in a block and temporarily turn off warnings:

      Hi Randy,

      thanks for your information.
      Here is new BEGIN block that is so simple and has no warnings:

      BEGIN {
      {
      no warnings;
      *SOAP::XMLSchema1999::Deserializer::as_string =
      \&My::Deserializer::as_string;
      }
      package My::Deserializer;
      sub as_stirng {
      ...
      }
      }

      ----
      Masayoshi Sekimura <sekimura@...>
    Your message has been successfully submitted and would be delivered to recipients shortly.