#! /usr/bin/perl -w use strict; print STDOUT<<text; foo bar text
produces:
foo bar
Oops, uploaded the wrong fragment. I tested with an explicit file handle and without. Although for the sake of completeness I guess I should leave both up
#! /usr/bin/perl -w use strict; print<<text; foo bar text
In reply to Re:x2 EOF in string
by grinder
in thread EOF in string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |