Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

OUTPUT: inline or template_based?

by CodeHound (Beadle)
on May 28, 2002 at 09:48 UTC ( [id://169726]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $myvar= 'foo';
    print <<ENDHTML;
    <html>
    ...
    </body>
    </html>
    ENDHTML
    
  2. or download this
    open $templatefile;
    $newfilecontent= &parse($templatefile, \@replacements);
    open $newfile;
    print ($newfile, $newfilecontent);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found