Clarified that testing a field called "" (empty string) tests the whole $var

This commit is contained in:
Clinton Gormley 2013-07-01 16:03:03 +02:00
parent 6aa5b10f5d
commit 660ec31ded
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ of the `tokens` array, inside the `response` var (see below):
$val = $response->{tokens}[1]{token} # Perl syntax roolz!
If one of the levels (eg `tokens`) does not exist, it should return an undefined value.
If no field name is given (ie the empty string) then return the current
$val -- used for testing the whole response body.
Skipping tests:
---------------