On Thu, Apr 19, 2012 at 7:37 PM, Sisyphus <sisyph...@optusnet.com.au> wrote: > > ----- Original Message ----- From: "Xiao Yafeng" <xyf.x...@gmail.com>
> c2xs --m=XYZ --write_makefile_pl=1 --inc=-I/here -I/there --write_pm=1 > would equate to: > c2xs('XYZ', 'XYZ', '.', {WRITE_MAKEFILE_PL=>1, INC=>'-I/here -I/there', > WRITE_PM=>1}); > > Would that be ok ? If not, let me know - I don't have any definite rules > about this. (Error checking would be built in, of course.) ...while you're at it... (I'm sure you know what will come next): InlineX::CPP2XS would benefit from similar treatment. Would it make sense for the command-line version to exist within the App:: namespace? App::InlineX::CPP2XS, for example. As for how it should be invoked... sane defaults, easily overridden from the command line (my vote). -- David Oswald daosw...@gmail.com