in reply to 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.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

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

Replies are listed 'Best First'.
Re^2: how to open browser window with given URL on MacOSX?
by adrianh (Chancellor) on Apr 23, 2004 at 23:34 UTC
    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?

        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.