1 |
A filled field is designed for text which is to be broken at word boundaries but could be of arbitrary length. Here such text is specified by initial carat:
-
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-
$text
-
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-
$text
-
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-
$text
-
.
-
where number of <'s plus one is maximum size of field on each line
|
2 |
Note how one can repeat input variable so that Perl will process $text in above example over three input lines. Characters output on one line are discarded and remaining part (of $text) passed to next line
|
3 |
The special ~~ construct
|
4 |
~~ ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
5 |
$text
|
6 |
.
|
7 |
will repeat pictureline following ~~ until associated variable (here $text) is exhausted
|