perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] t/modperl/util hangs on Linux
Date Tue, 14 Dec 2004 20:18:35 GMT
Markus Wichitill wrote:
> Stas Bekman wrote:
> 
>> Markus, any difference if you replace both occurences of newSVpvf with
>>
>> 1) Perl_form(aTHX_ "0x%lx", (unsigned long)aTHX)
> 
> 
> t/modperl/util....1..1
> # Running under perl version 5.008006 for linux
> # Current time local: Tue Dec 14 16:32:57 2004
> # Current time GMT:   Tue Dec 14 15:32:57 2004
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.18
> # testing : perl interpreter id
> # expected: (?-xism:0x\w+)
> # received: undef
> not ok 1
> FAILED test 1

it was a bad idea anyway, since it requires you to copy the resulting string.

>> 2) Perl_newSVpvf(aTHX_ "0x%lx", (unsigned long)aTHX)
> 
> 
> Succeeds.

really? That's strange. I guess I'll just use it then.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message