[Melbourne-pm] Using given/when to return values

Toby Corkindale toby.corkindale at strategicdata.com.au
Tue Jun 1 22:16:50 PDT 2010

An annoyance right now is that the given/when syntax does not return the 
values in the code block executed, so you can't use them inside grep,etc.

Has anyone else noticed a way around that? (Apart from wrapping it in an 
anonymous subroutine and then returing out of the when blocks)

More information about the Melbourne-pm mailing list