Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Here, doccy doccy. nice doccy. heredoc, treat.

by Vynce (Friar)
on Jun 21, 2001 at 05:56 UTC ( [id://90272]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    print <<IMPLIED;
    $foo
    IMPLIED
    
  2. or download this
    $foo
    date
    Wed Jun 20 15:33:51 PDT 2001
    date
    
  3. or download this
    my @list = <<qw(HERE);
    Foo Bar Baz
    HERE
    
  4. or download this
    my @list = qw <<HERE;
    
  5. or download this
    my @list = qw(<< HERE);
    Foo Bar Baz
    HERE
    
  6. or download this
    my $bar = <<HERE;
    Foo Bar Baz
    HERE
    my @list = qw($bar);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found