It looks like you don't understand the web at all.

see this for a very short introduction.

The CGI/whatever webserver code does not run on the browser, or the browser's system. It runs on whatever machine you've installed your CGI code on. In general the only code that will run on the browser itself is Javascript.

In other words, you can't use $^O in server-side perl, since that checks the server's operating system, which will remain the same until you move the code to another machine yourself. update: and you definitely do not want to open a bunch of browser windows on the server either.

What you want is to have the code that runs on the browser to behave in a certain way. For some reason you expect the users all to use IE, but that's immaterial. What you have to realize is that the behaviour of the browser is determined by whatever the browser receives. There are ways to open a new browser window. One is to use Javascript to open a new window with a new url. See window.open(). The other is to use a target attribute on a link.


In reply to Re: Open another IE browser window from CGI by Joost
in thread Open another IE browser window from CGI by Olaf

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.