Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Dynamically altering static TT templates

by markmoon (Deacon)
on Apr 05, 2002 at 20:27 UTC ( [id://157044]=note: print w/replies, xml ) Need Help??


in reply to Re: Dynamically altering static TT templates
in thread Dynamically altering static TT templates

Would adding the following to each template file cover it?:
open(TEMPLATE FILEHANDLE,$0); print "# ",$0;
$0 contains the name of the file being read. I haven't played with TT (or templates) yet so this is just a hopeful guess.
--
@a = ("a".."z"," ","-","\n");
@b = (12,0,17,10,24,12,14,14,13,26,8,18,26,0,26,
22,0,13,13,0,27,1,4,26,15,4,17,11,26,7,0,2,10,4,17,28);
print map {$a$_} @b;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found