Front page | perl.perl5.porters |
Postings from May 2008
Re: Data::Dumper patch
Thread Previous
|
Thread Next
From:
Dave Mitchell
Date:
May 30, 2008 18:31
Subject:
Re: Data::Dumper patch
Message ID:
20080531013145.GL10614@iabyn.com
On Fri, May 30, 2008 at 11:02:22PM +0100, Dave Mitchell wrote:
> On Thu, May 08, 2008 at 04:35:42PM +0300, Alexandr Ciornii wrote:
> > Patch to make Data::Dumper compile on older Perl's.
> > my_sprintf is available only on 5.10 and cannot be supported by
> > ppport.h (requires probe). Also added
> > #define NEED_my_snprintf
>
>
> +#if PERL_VERSION < 10
> + sprintf(r, "\\x{%"UVxf"}", k);
> + r += strlen(r);
> + #my_sprintf is not supported by ppport.h
> +#else
> r = r + my_sprintf(r, "\\x{%"UVxf"}", k);
> +#endif
>
>
> Did you really indent to have a perl-style comment before my_sprintf?
s/indent/intend/
--
This is a great day for France!
-- Nixon at Charles De Gaulle's funeral
Thread Previous
|
Thread Next