perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: passing through an existing foo.pm from xs
Date Fri, 14 Dec 2001 04:56:53 GMT
On Fri, 14 Dec 2001, Stas Bekman wrote:

> I'm not satisfied with autogenerated 
> WrapXS/Apache/SubProcess/SubProcess.pm, since I need to require 
> APR::PerlIO in it, and I don't really want to create the SubProcess.xs 
> and Makefile.PL in xs/Apache/SubProcess/. Do you think it's OK for 
> WrapXS to check whether foo.pm already exists and not to generate it if 
> so and use the existing one.

try this:
echo 'use APR::PerlIO ();' > xs/Apache/SubProcess/SubProcess_pm

the contents of SubProcess_pm will be included in the generated
SubProcess.pm.


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


Mime
View raw message