Open browser from perl

Here is what I want:

I want a perl script that opens two separate browser windows.  Basically, when my script runs I want one browser to open up with URL 1.  And a second browser to open up with URL 2.  Is this possible and if so, how?  I've looked around and can't find what I need.  Any help?
rknuppelAsked:
Who is Participating?
 
Kim RyanConnect With a Mentor IT ConsultantCommented:
My suggestion would be to use javascript clinet side to create two pop ups. Supply some paramters in the calling URL to a script which is then run server side to return your results in the browser windows you just opened.

<a href="javascript:window.open('http://www.mysite1.com/perl_script1?arg1=x&arg2=y');
javascript:window.open('http://www.mysite2.com/perl_script2?arg1=x&arg2=y')">
My Link</a>
0
 
ozoCommented:
#what browser and what operating system?
#did you try
system('/path/to/browser URL &');
0
 
rknuppelAuthor Commented:
actually... the more I think about it I may be way off base... I need this to happen from a webpage.  When the user clicks a button/hyperlink, I want to separate browser instances to open on the users machine, with the appropriate URL's loading in each.  I was trying to have my PHP hyperlink call a perl script that would open these browser instances.. But maybe that's not how to do it.  Thoughts?
0
 
ozoCommented:
You mean, like a popup window?
0
 
rknuppelAuthor Commented:
Yes... But I need one hyperlink/button to open two popup windows.

I'd actually like to have my hyperlink call a perl script that runs on the server, and then the perl opens the two browser instances on the client machine.  This is so I can do some more processing behind the scenes, and then pop up the browsers.  But not sure if that's possible.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.