Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Printing to a specific place in a file

by IOrdy (Friar)
on Oct 04, 2001 at 17:19 UTC ( #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? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2023-01-30 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?