CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [mk3lai] Help with CGI.PM and javascript: Edit Log



Bianca
User

Jun 18, 2010, 10:24 AM


Views: 3273
Re: [mk3lai] Help with CGI.PM and javascript

OK, I understand.
The shown conditional lines I would print line by line as before. CGI.pm is not able to do those conditionals.
And it's not wrong or bad to print line by line. Don't feel bad to do it in that way.
CGI.pm is not a programming roboter, it's only a tool to print html tags with some less source code and perfect headers/meta's etc.

For example: I have a script where I need serveral <input type=hidden name=samename value=differentvalue> Tags to build a array in the form.
CGI.pm does not exactly takes the right value, it takes instead the value of the field bevor created. I don't know why it is, I fear it's a bug. And so I'm not ashamed to print the line manually.

Edit additional: It's not core competence of CGI.pm to create JS in all appreciative forms :)


(This post was edited by Bianca on Jun 18, 2010, 10:28 AM)


Edit Log:
Post edited by Bianca (User) on Jun 18, 2010, 10:28 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives