Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Indented HEREDOC?

by LanX (Archbishop)
on Mar 20, 2018 at 17:51 UTC ( #1211359=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <<~EOF;
    <<~\EOF;
    ...
    <<~ 'EOF';
    <<~ "EOF";
    <<~ `EOF`;
    
  2. or download this
    if (1) {
      print <<~EOF;
        Hello there
        EOF
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2019-09-17 06:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (202 votes). Check out past polls.

    Notices?