Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Multi-line comments in perl code?

by ikegami (Pope)
on Jul 14, 2006 at 19:28 UTC ( #561305=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $comment = <<'EOC';
    bla bla
    EOC
    
  2. or download this
    $comment = <<'EOC' if 0;
    bla bla
    EOC
    
  3. or download this
    0 && <<'EOC';
    bla bla
    EOC
    
  4. or download this
    0 && q{
      ...
    };
    
  5. or download this
    =for comment
    bla bla
    =cut
    
  6. or download this
    # bla bla
    # bla bla
    # bla bla
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2020-08-14 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (76 votes). Check out past polls.

    Notices?