in reply to Re^2: Aren't there code refs as well as function refs?
in thread Aren't there code refs as well as function refs?

The prototype of throw_ok is &$;$, so
throws_ok { ... } ..., ...;
is equivalent to
&throws_ok( sub { ... }, scalar( ... ), scalar( ... ) );