"be consistent" | |
PerlMonks |
Re: Nested Heredocs and Shell Escapes (code)by bikeNomad (Priest) |
on Jun 08, 2001 at 20:30 UTC ( [id://86964]=note: print w/replies, xml ) | Need Help?? |
Quote the heredoc tags to prevent quoting: $ ksh <<'END_OF_KSH' > perl <<'END_OF_PERL' > my $foo=qq{bar \n}; > print qq{ FOO=$foo }; > END_OF_PERL > END_OF_KSH FOO=bar $
In Section
Seekers of Perl Wisdom
|
|