There are two ways to open a new window and fill it with cgi generated output.


case 1:
you have a web page.  someonce clicks a link that is hyperlinked to the cgi. 
If you ALWAYS will want whatever the cgi returns to go to anew window then in
the original page add 
TARGET = "my_new_page" 
inside the tag that links to the cgi.

case 2:
you dont ALWAYS want to open the cgi data in a new window, but instead want
the CGI to decide on the fly when it will or wont open a new window.
This case is much tougher.  In fact its impossible, but you can do a
workaround in javascript. Have the CGI first return a java script program the
refreshes the old page and then opens a new window.  the new window can either
get its content directly from the java script, or it can make a second call to
the cgi.



 


On Mon, 8 Jul 2002 23:08:27 -0500 Mariusz <[EMAIL PROTECTED]> wrote:

How can I execute the cgi and print the HTML text into a new window? In other
words, can I open new browser window using perl?

thank you,
M


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to