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

[MacPerl] Here-Document problem



I have been having some difficulty with the Perl "here-document"
operator in MacPerl.  The following script works fine on my UNIX box:

print(<<"MY_EOF");
this is a test
and so is this 
and so is that...
MY_EOF

But fails with the following warning on my Mac:

# Can't find string terminator "MY_EOF" anwhere before EOF.

My real application is embedding AppleScripts within MacPerl, and
keeping them easy to read.  Any suggestions on this front would be
appreciated.

Thanks-

Mark
-- 
| R. Mark Adams, PhD         |   rmadams@alphaGene.com   |  |||||  |
| Director of Bioinformatics | "Fortune favors the bold" |   - <|  |
| AlphaGene, Inc.            |           -Virgil         |    v |  |
|         http://www.skotophile.com/people/Mark.html     |   \_/   |

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch