P is for Practical | |
PerlMonks |
Re^5: Separate Javascipt code from pure Perl codeby marto (Cardinal) |
on May 07, 2007 at 16:22 UTC ( [id://613968]=note: print w/replies, xml ) | Need Help?? |
"Still if i copy the genarated html and paste is very messy and ugly that i dont even want to look at it."
Well if your code produces something you consider messy who is to blame? Since you are going to be making it into a template for HTML::Template you will only need to tidy up each page once (in your favorite text editor), and substitute in the template tags (TMPL VAR, TMPL LOOP etc). "Furthermore i couldnt have nvu generate the html page i want. is there soemthign simpelr than this?" Nvu is an open source WYSIWYG (What You See Is What You Get) html editor. IMHO it is quite good and more than capable of creating the output of your script (based on the example I have seen). As for ease of use, I picked it up pretty quickly, there is not a great deal to it. You mentioned previously in the CB that you knew only very basic HTML, perhaps you would be helping yourself out a lot if you took the time to learn HTML properly, so you don't have to depend on anything more than your text editor of choice. Martin
In Section
Seekers of Perl Wisdom
|
|