Syntactic Confectionery Delight | |
PerlMonks |
Re^6: BAIL_OUT with older Test::Moreby ELISHEVA (Prior) |
on Feb 15, 2011 at 19:50 UTC ( [id://888370]=note: print w/replies, xml ) | Need Help?? |
Thanks for letting us know how it seems to be working. Why not wrap it in a sub and document the sub? That way everything will be in one place and you'll have less to type each time you want to bail. BTW, If you did want to abort, you could probably do print ....; die - the print to force the bail. The die to abort that particular .t file on the spot. Maybe you could even pass a flag to your sub indicating whether you want to die now or not?
In Section
Seekers of Perl Wisdom
|
|