[SVN] Bundle commit 444

Eric Hsu erichsu at math.sfsu.edu
Tue Mar 8 20:01:24 UTC 2005


At 7:04 PM +0100 3/8/05, Allan Odgaard wrote:
>>  * added support for PHP Heredoc strings
>
>So simple, why didn't you just do that Eric? ;)

Apathy plus dimness are a very powerful combination.

Very clever! This should work for 99% of the cases, although note 
that it breaks on any heredoc with an embedded word with a ending 
semicolon.

$str = <<<EOD
Here are some of my favorite Languages:
Perl;
C++;
C;
and Scheme.
EOD;

I'll steal this for the Perl plist.

best, Eric
-- 
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu at math.sfsu.edu
http://math.sfsu.edu/hsu



More information about the textmate-dev mailing list