Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: RFC: Template::YetAnother

by domm (Chaplain)
on Nov 16, 2002 at 16:06 UTC ( #213414=note: print w/replies, xml ) Need Help??


in reply to Re: RFC: Template::YetAnother
in thread RFC: Template::YetAnother

You need embedded Perl Code for stuff like includes. I do not like embedded code. That's why I didn't mentioned it...
-- #!/usr/bin/perl for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Replies are listed 'Best First'.
Re**3 RFC: Template::YetAnother
by belg4mit (Prior) on Nov 16, 2002 at 18:10 UTC
    No, not really. You could read a seperate template or file into a variable to be susbtituted into the base template. Or, you could write a generic include subroutine. Better yet use the one provided
    *Q::include = \&Text::Template::_load_text;

    --
    I'm not belgian but I play one on TV.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://213414]
help
Chatterbox?
[mark4]: thanks. I installed "PAR-packager" and pp is working. BTW, it is pp.bat that was needed.
[mark4]: Sorry, There was a typo in my last message. I installed "PAR-Packer" and I now have a pp.bat and all is working well. Thanks again for your help.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2018-01-19 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (223 votes). Check out past polls.

    Notices?