in reply to Re: how to open browser window with given URL on MacOSX?
in thread how to open browser window with given URL on MacOSX?

you know, a very short time ago some AM asked how to do this on windows, juse HTML::Display

Is there a way of getting HTML::Display to open a URL directly - I thought it only displayed HTML supplied from Perl?

  • Comment on Re^2: how to open browser window with given URL on MacOSX?

Replies are listed 'Best First'.
Re: Re^2: how to open browser window with given URL on MacOSX?
by PodMaster (Abbot) on Apr 24, 2004 at 06:01 UTC
      Replace file with url and you're in business

      It'll do what the OP wants in the Mac OS X case, but isn't that just a side effect of the implementation of a specific HTML::Display subclass? Opening URLs doesn't appear to be part of the official API.

      All the modules such as ... provide this which is what the author is after.

      It won't work in all cases. For example HTML::Display::Win32::IE appears to push HTML straight to the browser from Perl. No filenames, let alone URLs involved.