RE: ACTIVEPERL_VERSION used to be a string and so fails =822 test
On Fri, 14 Sep 2007, Suresh Govindachar wrote: ACTIVEPERL_VERSION is a string in older versions of ActivePerl. Googling showed ACTIVEPERL_VERSION as a number in 5.8.7 build 813; and we are only concerned with later buids of 5.8.8. So I decided to use the following guard: #if (PERL_REVISION == 5) (PERL_VERSION == 8) (PERL_SUBVERSION = 8) # if (ACTIVEPERL_VERSION = 822) #define PERL589_OR_LATER # endif #endif That looks good to me. Cheers, -Jan ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: ACTIVEPERL_VERSION used to be a string and so fails =822 test
ACTIVEPERL_VERSION is a string in older versions of ActivePerl. Googling showed ACTIVEPERL_VERSION as a number in 5.8.7 build 813; and we are only concerned with later buids of 5.8.8. So I decided to use the following guard: #if (PERL_REVISION == 5) (PERL_VERSION == 8) (PERL_SUBVERSION = 8) # if (ACTIVEPERL_VERSION = 822) #define PERL589_OR_LATER # endif #endif ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs