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

Re: Printing to a specific place in a file

by IOrdy (Friar)
on Oct 04, 2001 at 17:19 UTC ( [id://116687]=note: print w/replies, xml ) Need Help??


in reply to Printing to a specific place in a file

Put a tag in your .html file called something like
{news} Read your whole file into a variable say $page_html and replace: $page_html =~ s/\{news\}/$news_html/;
Simple enough.

Log In?
Username:
Password:

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

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

    No recent polls found