Re: Print substitution ?



Bob <uctraing@xxxxxxxxxxxx> writes:

> I am trying to read in the contents of a file (which contains psuedo
> variables) and then print the file's contents and have variable
> substitution occur.

Search CPAN for the word "template" - this is very well-explored territory,
so there's little need to reinvent that particular wheel.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
.



Relevant Pages

  • Re: $p{"Bryan"}{"age"} = 31
    ... Perl is so cool! ... > Bob> That's fine, as long as $pdoesn't exist or is already a hashref. ... Prev by Date: ...
    (perl.beginners)
  • Re: End Record Charcter
    ... Bob, thanks for your reply - +Z works fine! ... advice regarding adding the info using a text editor file - I think that ... "Perl - Weekend Crash Course". ... it is more or less a control-Z. ...
    (comp.lang.perl.misc)
  • Re: Turn-key OpenVMS E-mail, web server solution?
    ... >>Bob, I know you really like Purveyor and TCPWare ... > Here is an example of how to use PERL from a CGI script. ... download and install the .tar or .zip kit of OSCommerce, (uses MySQL) and tell ...
    (comp.os.vms)
  • Re: User define key
    ... the first command in the program (if you don't know SysRPL, ... from Keyman). ... Bob ... Prev by Date: ...
    (comp.sys.hp48)
  • Re: 49g+ library issue
    ... >for the library above the function keys. ... EQNLIB to go directly to the equation library. ... Bob ... Prev by Date: ...
    (comp.sys.hp48)