At 23:41 +0100 2001.04.11, Alan Fry wrote:
>At 8:51 am -0400 11/04/01, Chris Nandor wrote:
>>* If you have the Mac::InternetConfig from the cpan-mac distribution, you
>>can [use GetURL($url)], instead of the three lines of code you (Morbus) have:
>
>The point being that the browser could be launched by other means and
>then provoked into a request by GetURL()? In the context of Morbus
>Iff's program this might prove to be a marginally longer way round
>than the method above.
GetURL works in place of the ICLaunchURL calls. This is its implementation:
sub GetURL {
my $url = shift or return;
ICGeneralFindConfigFile($ICInstance);
ICLaunchURL($ICInstance, 0, $url);
}
Not much to it. :-) It is just a shortcut.
>I find incidentally that the version of InternetConfig.pm in MacPerl
>5.6.2 does not work with MacPerl 5.2.1a1. Is that to be expected I
>wonder?
Hm, I haven't looked at it; what about it doesn't work?
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Bart Lateur
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Chris Nandor
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Morbus Iff
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- [MacPerl] [OT] "Morbus Iff's Program" Morbus Iff
- Re: [MacPerl] [OT] "Morbus Iff's Program" Morbus Iff
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Chris Nandor
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Gero Herrmann
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... John W Baxter
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Paul J. Schinder
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Chris Nandor
- Re: [MacPerl] Processes, Command Parameters, and Oth... John W Baxter
