Re: [MacPerl] Installing Perl modules on Linux not as root

2001-04-11 Thread Emmanuel. M. Decarie
À (At) 16:52 +0200 10/04/01, Bart Lateur écrivait (wrote) : >On Tue, 10 Apr 2001 23:16:29 +0930, Paul McCann wrote: > >>Now get thee to an appropriate list! > >MacPerl-Anyperl would most probably be appropriate. > >-- > Bart. Oooops, sorry for the off-topic post. I though that I was on Mac

Re: [MacPerl] multi files to multi arrays

2001-04-11 Thread Bart Lateur
On Tue, 10 Apr 2001 21:57:12 -0700, Eric W Dahlstrom wrote: >I am a newbie to Perl and I am trying to bring several files into their own >separate arrays for processing in a single script. >Currently I am able to read in the files, but they all dump into a single >array. I need to create a new a

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Alan Fry
At 7:25 pm -0400 10/04/01, Morbus Iff wrote: >Good day, all. Currently, in a script of mine, I use the following code to >launch the default browser on the users' machine to a specific URL: > >use Mac::InternetConfig qw(:DEFAULT $ICInstance); >ICGeneralFindConfigFile($ICInstance); >IC

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Bart Lateur
On Wed, 11 Apr 2001 13:05:23 +0100, Alan Fry wrote: >You could, on launching the runtime, put up a dialog with >MacPerl::Ask() and set a global variable; > > $SETTINGS->{creator} = MacPerl::Ask("Enter browser creator type", "MOSS"); Better use a "choose file" dialog, and get the creator typ

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Morbus Iff
>>What I'm looking to do is give the user a choice besides their default >>browser - they'd pass the full file path to the browser in question. I, in >>turn, would instruct that file/app to open $url. >> >>Ultimately, I'm looking to duplicate the following: >> >>unless( fork ) { exec("/

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Morbus Iff
>>However that would not seem to me to offer much advantage over the >>default Mac arrangement. It is after all very easy to change the >>default browser type in InternetConfig by the 'Internet' Control >>Panel. It strikes me it might be unlikely the user would choose a >>different browser fo

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Chris Nandor
At 09:36 -0400 2001.04.11, Morbus Iff wrote: > >* AppleScript, with path > > > > $path =~ s/"/\"/g; > > $url =~ s/"/\"/g; > > MacPerl::DoAppleScript(qq[tell application "$path" to GetURL "$url"]); > >This looks the most viable to me. As in the other message, overriding for >the Mac us

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Alan Fry
At 2:19 pm +0200 11/04/01, Bart Lateur wrote: >On Wed, 11 Apr 2001 13:05:23 +0100, Alan Fry wrote: > >>You could, on launching the runtime, put up a dialog with >>MacPerl::Ask() and set a global variable; >> >> $SETTINGS->{creator} = MacPerl::Ask("Enter browser creator >>type", "MOSS"); > >

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Bart Lateur
On Wed, 11 Apr 2001 08:51:12 -0400, Chris Nandor wrote: > $path =~ s/"/\"/g; > $url =~ s/"/\"/g; I don't think this will do much. You must have forgotten to double the backslashes. -- Bart.

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Chris Nandor
At 17:24 +0200 2001.04.11, Bart Lateur wrote: >On Wed, 11 Apr 2001 08:51:12 -0400, Chris Nandor wrote: > >> $path =~ s/"/\"/g; >> $url =~ s/"/\"/g; > >I don't think this will do much. You must have forgotten to double the >backslashes. Oops! -- Chris Nandor [EMAI

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Morbus Iff
>> $path =~ s/"/\"/g; >> $url =~ s/"/\"/g; > >I don't think this will do much. You must have forgotten to double the >backslashes. Bart, Chris was escaping the quotes so that the Applescript doesn't read them as the end of it's command. For example: $path = qq[MacHD:my "secret"

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Morbus Iff
>>>$path =~ s/"/\"/g; >>>$url =~ s/"/\"/g; >> >>I don't think this will do much. You must have forgotten to double the >>backslashes. > >Oops! Well, it looks like I'm the horribly confused ... What'd I'd miss? Morbus Iff .sig on other machine. http://www.disobey.com/ http://www.

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Chris Nandor
At 11:34 -0400 2001.04.11, Morbus Iff wrote: > >>> $path =~ s/"/\"/g; > >>> $url =~ s/"/\"/g; > >> > >>I don't think this will do much. You must have forgotten to double the > >>backslashes. > > > >Oops! > >Well, it looks like I'm the horribly confused ... What'd I'd miss? Script: $

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Bart Lateur
On Wed, 11 Apr 2001 11:34:30 -0400, Morbus Iff wrote: > >>> $path =~ s/"/\"/g; > >>> $url =~ s/"/\"/g; > >> > >>I don't think this will do much. You must have forgotten to double the > >>backslashes. > > > >Oops! > >Well, it looks like I'm the horribly confused ... What'd I'd miss? The fact

[MacPerl] MacPerl editor

2001-04-11 Thread Yosemite
i have been trying to set up internet config so MacPerl will use a particular text editor but never seem to get the menu item added, suggestion? thanks -- hcir mailto:[EMAIL PROTECTED]

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Alan Fry
At 9:29 am -0400 11/04/01, Morbus Iff wrote: >This, although usable for technically savvy people, wouldn't work >for the program's audience. A larger portion of people know where >programs are located on their hard drive. On a side note, though, >does asking for the creator string allow me to s

[MacPerl] [OT] "Morbus Iff's Program"

2001-04-11 Thread Morbus Iff
In case anyone's wondering what "Morbus Iff's Program" is, which has been discussed a bit in some of the past couple of threads, you can find the crossplatform, opensource, heavily commented, blackboxed, all perl/xml beast, webserver, etc., here: http://www.disobey.com/amphetedesk/ -- I

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Chris Nandor
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 launch

Re: [MacPerl] Processes, Command Parameters, and Other Apps...

2001-04-11 Thread Chris Nandor
At 13:05 +0100 2001.04.11, Alan Fry wrote: >However that would not seem to me to offer much advantage over the >default Mac arrangement. It is after all very easy to change the >default browser type in InternetConfig by the 'Internet' Control >Panel. It strikes me it might be unlikely the user wou