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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]