# from David Golden # on Monday 03 December 2007 19:55: >With some sugar, that could actually be quite handy for something like >test blocks. E.g.: > >{ > plan add => 2; > ok( 1, "wibble" ); > ok(1, "wobble" ); >}
or maybe make the block a sub block { subplan 2; ok(1, "wibble"); ok(1, "wobble"); }; The bit where prototypes "must have the & first" hurts, but then there's always λ{}. :-D --Eric -- The reasonable man adapts himself to the world; the unreasonable man persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. --George Bernard Shaw --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------