First and foremost, you haven't actually told us what is wrong. It's not clear what you mean when you say you can't get the template to work right. Does the script not produce any output? Do you get a server error? Have you checked your server logs or tested the script on the command line?
When you open the file, you should make sure that the open succeeded. Here's how to find out what went wrong when the file can't be opened: open(SEE, "../$value") or die "Can't open '../$value': $!";
Lastly, it may be the case that, when the script is run by the web server, the current working directory is not what you expect. This is a quirk of some web servers. You can try using absolute paths in your script, to see if that fixes the problem.
Hope that helps!
In reply to Re: Syntax and code debugging
by chipmunk
in thread Syntax and code debugging
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |