Bug#622836: Do not omit "write" in perlform examples

積丹尼 Dan Jacobson jidanni at jidanni.org
Mon May 27 19:17:59 BST 2019


retitle 622836 Do not omit "write" in perlform examples
found 622836 5.28.1-6
thanks

          Example:
             format STDOUT =
             @<<<<<<   @||||||   @>>>>>>
             "left",   "middle", "right"
             .
          Output:
             left      middle    right

No. Output is nothing.

You need to say:

          Example:
             format STDOUT =
             @<<<<<<   @||||||   @>>>>>>
             "left",   "middle", "right"
             .
             write;

          Output:
             left      middle    right

To have an actual working example.




More information about the Perl-maintainers mailing list