Good idea (I hope). start is a "program" that comes with Windows, and that serves to start up documents in their default program. Or, as in this case, URLs.

But start is not trouble free, on some instances of Windows, it is not a standalone program, but a built-in in cmd, the command line interpreter. And then, this command will not work. There have been longish discussions in the Chatterbox on how you can use

cmd /c start $url
(IIRC) to get arround that limitation, but it appears to me that using explorer.exe to dispatch to the proper default program will work just as well. And be less of a silly hack. At least, here, it opens in MSIE7 and not in an explorer (file browse) window, I'll have to try it at home to see if it'll cooperate with Firefox too.

In reply to Re^3: Perl Windows Open a Web Browser by bart
in thread Perl Windows Open a Web Browser by SteveS832001

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.