On Friday, August 1, 2003, at 05:03 PM, Michael G Schwern wrote:

Ooooh! I just had a great idea. Use "TEST { ... }" instead of "TEST: { ... }"
in Test::AtRuntime. If the user has Filter::Simple, use that to strip out
the TEST blocks. Otherwise, its a function call to TEST() passing in a code
ref which it would run or not run based on if we're testing or not. Except
now there's a dependency on Sub::Uplevel. :(

Could these instead be subroutine attributes? I can see a lot of advantages there.


-- c

Reply via email to