in reply to Re: EOF in string
in thread EOF in string
#! /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
|
|---|