faqts : Computers : Programming : Languages : Perl

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

45 of 97 people (46%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How to open a new browser window from a perl script ?

May 16th, 2001 07:39
Howard Yetzilbaum, Kirederf, http://javascript.com/


You can use javascript:
window.open(url, name, features, replace);
print something like this in the header of the document:
print <<EOT;
<SCRIPT>
window.open('http://yahoo.com/', 'yahoo', 'width=400,height=400');
</SCRIPT>
EOT