Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: Separate Javascipt code from pure Perl code

by marto (Cardinal)
on May 07, 2007 at 16:22 UTC ( [id://613968]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Separate Javascipt code from pure Perl code
in thread Separate Javascipt code from pure Perl code

"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

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-19 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found