Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open a new window 1

Status
Not open for further replies.

bluedragon2

IS-IT--Management
Joined
Jan 24, 2003
Messages
2,642
Location
US
I have searched throught the forum and saw how to open a new window by using:

<a href= target=newwindow

My question is: Can I open a new window using perl in test.pl?

Thanks

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Perl has no concept of a "window" at all. When you use Perl in a CGI script (or indeed mod_perl). It's just printing text, and that text gets sent to a browser. The fact that the text in question happens to valid HTML/Javascript/CSS code is irrelevant as far as Perl is concerned. That's up to the browser to parse. So what you need to do is to figure out what HTML/Javascript causes the effect you're looking for, and then have Perl output that code.
 
My question is: Can I open a new window using perl in test.pl?

short answer: no.
long answer: see ishnids reply

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Thank you...

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top