Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor clarifification of Str form of throws-like
  • Loading branch information
zoffixznet committed Jun 17, 2016
1 parent 9307750 commit 71c3efb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Language/testing.pod
Expand Up @@ -428,9 +428,9 @@ throws-like { frodo }, Exception, message => /dies/;
The function accepts an optional C<$description> of the test.
Please note that you can only use the C<EVAL> form if you are not referencing
any symbols in the surrounding scope. If you are, you should encapsulate
your string with a block and an EVAL. For instance:
Please note that you can only use the string form (for C<EVAL>) if you are not referencing
any symbols in the surrounding scope. If you are, you should encapsulate
your string with a block and an EVAL instead. For instance:
throws-like { EVAL q[ fac("foo") ] }, X::TypeCheck::Argument;
Expand Down

0 comments on commit 71c3efb

Please sign in to comment.