Skip Menu |

This queue is for tickets about the PerlIO-Util CPAN distribution.

Report information
The Basics
Id: 35366
Status: resolved
Priority: 0/
Queue: PerlIO-Util

People
Owner: gfuji [...] cpan.org
Requestors: taro.nishino [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: You might want to use ppport.h.
Dear Goro, I wonder why you don't use ppport.h. (I'm referring to PerlIO-Util-0.05.) With ppport.h, you could work out the issue of compatibility between various versions. Regards, Taro Nishino
Thanks. I will. I didn't use ppport.h because it doesn't support PerlIO functions/macros. But now I know I should use it.
Subject: Re: [rt.cpan.org #35366] You might want to use ppport.h.
Date: Mon, 28 Apr 2008 01:00:43 +0900
To: bug-PerlIO-Util [...] rt.cpan.org
From: Taro Nishino <taro.nishino [...] gmail.com>
Hi Goro, Thanks for your reply. As for PerlIO-Util-0.06, I substituted get_cv for get_cvn_flags as follows: --- perlioutil.h.org Mon Apr 28 00:35:25 2008 +++ perlioutil.h Mon Apr 28 00:44:12 2008 @@ -42,7 +42,7 @@ } else { SV * const pkgsv = newSVpvs("PerlIO"); SV * const layer = newSVpvn(name, len); - CV * const cv = Perl_get_cvn_flags(aTHX_ STR_WITH_LEN("PerlIO::Layer::NoWarnings"), 0); + CV * const cv = get_cv("PerlIO::Layer::NoWarnings", FALSE); ENTER; SAVEINT(PL_in_load_module); if (cv) { Regards, Taro Nishino
Thanks. I did. -------- Goro