Differences between version 2 and predecessor to the previous major change of perldata(1).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:50:43 pm | by perry | Revert |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:50:43 pm | by perry | Revert |
@@ -369,9 +369,9 @@
do) and leaves the remaining contents of the file
accessible via main::DATA.
-See SelfLoader for more description of __DATA__, and an
+See !
SelfLoader for more description of __DATA__, and an
example of its use. Note that you cannot read from the
DATA filehandle in a BEGIN
block: the BEGIN block is executed as soon as
it is seen (during compilation), at which point the
@@ -495,9 +495,9 @@
LISTs do automatic interpolation of sublists. That is, when a LIST is evaluated, each element of the list is evaluated in list context, and the resulting list value is interpolated into LIST just as if each individual element were a member of LIST . Thus arrays and hashes lose their identity in a LIST--the list
(@foo,@bar,
-contains all the elements of @foo followed by all the elements of @bar, followed by all the elements returned by the subroutine named SomeSub called in list context, followed by the key/value pairs of %glarch. To make a list reference that does ''NOT'' interpolate, see perlref.
+contains all the elements of @foo followed by all the elements of @bar, followed by all the elements returned by the subroutine named !
SomeSub called in list context, followed by the key/value pairs of %glarch. To make a list reference that does ''NOT'' interpolate, see perlref.
The null list is represented by (). Interpolating it in a
list has no effect. Thus ((),(),()) is equivalent to ().