in reply to Re: missing outputs
in thread missing outputs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: missing outputs
by GrandFather (Saint) on Mar 11, 2010 at 08:37 UTC | |
Prints:
True laziness is hard work | [reply] [d/l] [select] |
by blackgoat (Acolyte) on Mar 12, 2010 at 04:10 UTC | |
| [reply] |
by blackgoat (Acolyte) on Mar 11, 2010 at 09:35 UTC | |
| [reply] |
by Corion (Patriarch) on Mar 11, 2010 at 09:40 UTC | |
I would guess that you run the external program to fetch the list, then print the HTML to the user. I'm not exactly sure where your problem is, as both things have been treated already in the replies you got. | [reply] |
by blackgoat (Acolyte) on Mar 11, 2010 at 09:58 UTC | |
This is my html page:
And this is my perl script that gives me my options:
But the options in the list dont show!! | [reply] [d/l] [select] |
by GrandFather (Saint) on Mar 11, 2010 at 10:37 UTC | |
Obviously the template (in the __DATA__ section) and probably the script too, should be stored in an external file or pulled from a database. You might want to take a look at the documentation for the various modules that I've used - they do a lot of good magic. True laziness is hard work | [reply] [d/l] |
by blackgoat (Acolyte) on Mar 12, 2010 at 05:47 UTC | |
I did it!! I just needed to pass the variables from one perl script to the other. I used require() and did it. But still thanks to you all for the suggestions!! BG | [reply] |
by blackgoat (Acolyte) on Mar 11, 2010 at 09:03 UTC | |
| [reply] |
by marto (Cardinal) on Mar 11, 2010 at 09:59 UTC | |
In addition to all of the other valid points raised with your questionable approach to achieving whatever your final goal may be, you may want to look at a templating system such as HTML::Template where you can populate a template with these values. | [reply] |
by GrandFather (Saint) on Mar 11, 2010 at 09:45 UTC | |
In general it helps a lot if you outline the actual problem you are trying to solve. In this case I presume the problem is related to the back story presented in Updation through RegExp. Actually the current question seems to be the fifth in a series related to the same coding exercise. You may have gotten better answers sooner and learned more by actually presenting the whole problem at the start along with a plea for links to tutorial material related to the various issues you were/are facing. I still haven't figured out what your actual problem is. So here are a few questions: You may find the Tutorials section has some helpful stuff in it. It has sure helped me at various times! True laziness is hard work | [reply] |