Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Here, doccy doccy. nice doccy. heredoc, treat.

by Abigail (Deacon)
on Jun 22, 2001 at 04:40 UTC ( #90597=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        print `${\<<HERE}`;
            date
        HERE
    
  2. or download this
        print qx {${\<<HERE}};
            date
        HERE
    
  3. or download this
        print qr /${\<<HERE}/;
            x*foo
        HERE
    
  4. or download this
        my @words = split ' ' => <<'HERE';
           some words go here
        HERE