Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP
In directory usw-pr-cvs1:/tmp/cvs-serv3434
Modified Files:
WebTest.pm.in
Log Message:
Document nested lists
Index: WebTest.pm.in
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** WebTest.pm.in 21 Jun 2002 06:48:16 -0000 1.16
--- WebTest.pm.in 22 Jun 2002 20:30:43 -0000 1.17
***************
*** 212,217 ****
=back
! Parameters are either scalar (single-valued) or lists (single or
! multi-valued).
You can specify scalar parameters using forms such as:
--- 212,217 ----
=back
! Parameters are either scalar (single-valued) or lists (single-valued,
! multi-valued or nested).
You can specify scalar parameters using forms such as:
***************
*** 246,249 ****
--- 246,264 ----
)
+ Lists can be nested. For example:
+
+ name = ( ( first value
+ second value ) )
+
+ name = ( 'third value'
+ ( fourth value => fifth value ) )
+
+ name = (
+ ( first value
+ second value )
+ third value
+ ( fourth value => fifth value )
+ )
+
You can specify a null (placeholder) value using '' or "". Within
single or double quotes, the usual Perl string quoting rules apply.
***************
*** 261,265 ****
brackets are used to denote Perl code inside wtscript files.
C<HTTP::WebTest> compiles this Perl code as anonymous subroutines
! which are called when value of corresponding test
parameters are required. These subroutines are called in an object-oriented
fashion, so the
--- 276,280 ----
brackets are used to denote Perl code inside wtscript files.
C<HTTP::WebTest> compiles this Perl code as anonymous subroutines
! which are called when values of corresponding test
parameters are required. These subroutines are called in an object-oriented
fashion, so the
***************
*** 271,275 ****
name = { 1 + 1 }
! # element of a list
name = (
'first value'
--- 286,290 ----
name = { 1 + 1 }
! # element of a list
name = (
'first value'
***************
*** 355,359 ****
passed in a hash passed as the second argument.
! Subroutine references can be specified instead of test parameter values.
Referenced subroutines are called during test run when
values of corresponding test parameters are required. These subroutines are
--- 370,374 ----
passed in a hash passed as the second argument.
! Subroutine references can be specified instead of test parameter values.
Referenced subroutines are called during test run when
values of corresponding test parameters are required. These subroutines are
***************
*** 536,540 ****
This module have been tested only on Unix (e.g., Solaris, Linux, AIX,
! etc.) but it should work on Win32 systems. (Exception: local file tests
don't work on Win32 systems.)
The module's HTTP requests time out after 3 minutes (the default value
--- 551,555 ----
This module have been tested only on Unix (e.g., Solaris, Linux, AIX,
! etc.) but it should work on Win32 systems. (Exception: local file tests
don't work on Win32 systems.)
The module's HTTP requests time out after 3 minutes (the default value
***************
*** 559,563 ****
You can sign up at
http://lists.sourceforge.net/lists/listinfo/http-webtest-general.
! The email address is C<htt...@li...>.
=head1 COPYRIGHT
--- 574,578 ----
You can sign up at
http://lists.sourceforge.net/lists/listinfo/http-webtest-general.
! The email address is C<htt...@li...>.
=head1 COPYRIGHT
|