Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Returning Variables from files

by dorko (Prior)
on Jul 22, 2002 at 02:28 UTC ( [id://183920]=note: print w/replies, xml ) Need Help??


in reply to Returning Variables from files

Maybe I'm missing something here, but you might want to consider using a templating system. They do what you seem to want to do here. (i.e. Have a place holder in an HTML file that gets replaced dynamically by your script.)

I use HTML::Template. There are at least two good tutorials for HTML::Template available here at the Monastery. One is by Ovid and the other by jeffa.

In all fairness, there are other templating modules out there. You can find an article ("Choosing a Templating System") comparing and contrasting them.

Cheers!

Brent

-- Yeah, I'm a Delt.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2024-04-24 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found