[Xml-compile] Re: [PATCH] XML::Compile::SOAP on Perl 5.6.1

Mark Overmeer solutions at overmeer.net
Thu Sep 11 10:39:58 BST 2008


[is this really something to get London.pm involved in?  Let's
 continue solely on the XML::Compile mailing list after this]

* Toby Corkindale (tjc at wintrmute.net) [080911 01:38]:
> The attached patches to Log::Report and XML::Compile::SOAP are enough
> to get it functional on Perl 5.6, despite the normal requirements for
> Perl 5.8.

I think both patches will make it main stream, with a little rewrite.
What about:

  if ($] >= 5.008002)
  {   require Encode;
      Encode->import;
  }
  else
  {   *encode = sub { $_[1] };
  }

What do you think?  Or should it use utf8::downgrade for some subset of
older versions?
-- 
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list