X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldata.pod;h=50b685816e8146f13c7b3b8cc67614a5eed1b7e9;hb=22d4bb9ccb8701e68f9243547d7e3a3c55f70908;hp=70ab1615f213c88dc5002745710b78f2b4855893;hpb=4b19af017623bfa3bb72bb164598a517f586e0d3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldata.pod b/pod/perldata.pod index 70ab161..50b6858 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -462,6 +462,22 @@ from each line manually: down from the door where it began. FINIS +If you use a here-doc within a delimited construct, such as in C, +the quoted material must come on the lines following the final delimiter. +So instead of + + s/this/< is a +concatenation of two lists, C<1,> and C<3>, the first of which ends +with that optional comma. C<1,,3> is C<(1,),(3)> is C<1,3> (And +similarly for C<1,,,3> is C<(1,),(,),3> is C<1,3> and so on.) Not that +we'd advise you to use this obfuscation. + A list value may also be subscripted like a normal array. You must put the list in parentheses to avoid ambiguity. For example: