develooper Front page | perl.perl5.porters | Postings from June 2008

Re: Change 34005: Re: CPAN Upload: S/SA/SAPER/Sys-Syslog-0.25.tar.gz

Thread Previous | Thread Next
June 10, 2008 17:09
Re: Change 34005: Re: CPAN Upload: S/SA/SAPER/Sys-Syslog-0.25.tar.gz
Message ID:
Nicholas Clark wrote:

> Specifically, changing them by adding a prototype as an upgrade (so  
> within
> the 5.8.x series) isn't a good idea, as it actually can change (or  
> break)
> existing code. (eg, changing POSIX so that its constants had the  
> prototype ""
> caused Tie::File to stop compiling. This was actually due to a  
> small bug in
> it, but the change in prototypes made this manifest as a compile fail.
> Most people don't write code that eval ""s without checking if it  
> compiles.
> But not everyone. And some of *them* are daft enough to deploy  
> upgrades live
> without sufficient testing.
> Paranoid? Me? :-)

Hmm.. If I read my shell correctly, ExtUtils::Constant 0.20 works  
with 5.8, even when passing PROXYSUBS => 1 to  

All Sys::Syslog tests pass. The only difference I see is that the  
object file is smaller when ProxySubs are used:
- without ProxySubs, Syslog.o is 67,036 bytes
- with ProxySubs,    Syslog.o is 64,896 bytes

Perl 5.8.6, GCC 4.0.1, Darwin/PowerPC

I'll leave the C< ($] > 5.009002 ? (PROXYSUBS => 1) : ()) > bit in  
Makefile.PL just to satisfy your paranoia ;-)

S├ębastien Aperghis-Tramoni

Close the world, txEn eht nepO.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About