# from Ron Savage
# on Saturday 21 March 2009 02:16:
>For those of us who wish to indicate to a program that our distro is a
>pure Perl module, I'm thinking that a pure_perl tag in META.yml is the
>way to go.
Perhaps. The catch is when you have something like 'version', which can
either be pure perl or compiled, depending on what's available.
In such a case, the build_recommends field would be nice to have.
I'm sort of thinking that the presence of ExtUtils::CBuilder in
build_requires would be a sufficient indicator. (Except there's also
Inline::C, swig, and such.)
And note: you can only state that *your* distribution is pure_perl, but
it might depend on a compiled module.
But if we do something with a toplevel tag, "pure_perl" is maybe not the
name for it because what you really mean is "needs_compiler", right?
--Eric
--
"Time flies like an arrow, but fruit flies like a banana."
--Groucho Marx
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------