Wow. That was simple! You were correct. I went with:
$templ .= qq~~;
Instead of:
[code]
$temp .= qq~~;
[\code]
Too simple. I played around with it plenty beforehand but I wasn't 100% positive how much it relied upon using $temp. But now it is printing out all comment and does not add a...
Each .dat file is opened once to retrieve all of the comments and it is opened once per comment being saved which is once per script execution when being used to save a new comment.
I use strict. There is one cgi using all of this. It uses the template module. The template module calls upon...
Thank you.
Well any bits I left out of the code area was a short explanation of why I had what I did in the code section.
I had tried to concatenate the string as I thought that it might help out in my situation but it caused more trouble. I will show the full text of the comment module which...
For my templating system I have a module which converts pre-defined 'tags' into what is supposed to be replaced by those tags. For the most part the tag is replaced by a subroutine in the search pattern and the subroutine is in charge of doing whatever it must to figure out what to print...
You can use lib or there's a snippet that I use to fix this from time-to-time. Some have tried to guide me away from it but it always worked for me.
Assuming that TCO is installed on the server then you can push the location of the module into @INC which if you weren't sure contains the paths...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.