Beefy Boxes and Bandwidth Generously Provided by pair Networks
"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??


in reply to Nested Heredocs and Shell Escapes (code)

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
 $
  • Comment on Re: Nested Heredocs and Shell Escapes (code)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://86964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-20 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found