Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Import Constants From File to Templates?

by haj (Vicar)
on Dec 04, 2021 at 17:09 UTC ( [id://11139390]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    ) || die "$Template::ERROR\n";
    $tt->process( \$text )
        || die $tt->error(), "\n";
    
  2. or download this
    The constant 'PRE'     has the value 1
    The constant 'REGULAR' has the value 2
    The constant 'POST'    has the value 3
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-19 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found