[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] TerminatorString



At 11:18 -0700 1999.08.24, John W Baxter wrote:
>Another "gotcha" is that the terminating string can't have trailing
>whitespace, either.  It has to be *alone* on the line.

Well, it MUST have one bit of trailing whitespace ... a final newline.
i.e., for <<'EOT', perl will look for the exact string "\nEOT\n".  Often,
people will end their scripts with "\nEOT" and not get another newline and
it will therefore fail.

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org