On Wed, Mar 25, 2009 at 04:09:12PM +0000, David Cantrell wrote:
> On Wed, Mar 25, 2009 at 11:25:15AM -0400, Jonathan Yu wrote:
> 
> > So, I guess this is just my long-winded way of saying that you should
> > include a method of mapping operating systems to class names, but in a
> > portable manner
> 
> Devel::CheckOS is your friend.  It knows that, for example, Solaris,
> Irix and AIX are all Unix.

Yes. That sounds just the sort of magic I was looking for. Having a
fallback mechanism for less-specific modules if it doesn't find an exact
match.

That said though; should a non-Devel module depend on a Devel? I thought
the Devel:: space was for build-time stuff?

-- 
Paul "LeoNerd" Evans

leon...@leonerd.org.uk     |    CPAN ID: PEVANS

Attachment: signature.asc
Description: Digital signature

Reply via email to