> At the moment the only idea I have is to have 2 different sets of APIs
> which underneath will call the same core functions. e.g.:
> 
> skip_have_...
> have_...
> 
> the only difference is that skip will also push the reason, and non-skip
> won't. But may be there are better ideas.

I don't think that is necessary.  plan() resets @SkipReasons at the end, so
the only place it would come into play is if you call have_* methods before
plan().  calls made after, such as skip(have_cgi, ...) would not interfere.
 and I never like the 'use constant' bit anyway ;)

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to