in reply to Here docs throwing syntax error - can't find string terminator

my $stuff = join(":", <<END =~ /(.+)/g); hi there this\tis\ta\ttest of the best! END

Am I just missing something obvious here?

Yep, 'END' ne '        END'. But incidentally IIRC Perl 6 is supposed to do something smart in those cases...

Replies are listed 'Best First'.
Re^2: Here docs throwing syntax error - can't find string terminator
by Popcorn Dave (Abbot) on May 29, 2007 at 23:06 UTC
    Man do I feel silly. That never even occurred to me. Thanks!

    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code