Re: How to run Perl script at Mac OS (Darwin) Release?

2008-03-08 Thread Larry Prall
Change the she-bang (#!) line to read: #!/usr/bin/perl -w That's the location of the default perl installation on OS X. - Larry On Mar 7, 2008, at 1:35 PM, Gary Yang wrote: Hi, Below is my Perl script. The script named, test1.pl test1.pl #!/usr/local/ActivePerl-5.10/bin/perl -w print "$^

Re: Detecting OS X version from perl

2007-11-17 Thread Larry Prall
Try 'system_profiler'. Running it as 'system_profiler -detaillevel full' will probably provide more information than you really need. Run it with an unrecognized option (e.g. '-help') for more info. On Nov 17, 2007, at 7:37 PM, Michael Barto wrote: Just a quick question. Is there a comma

Re: Frickin' CPAN

2005-06-09 Thread Larry Prall
You might want to take a look at that URL list. Try going to each site by hand and see how long it takes to connect. Move your fastest sites to the top of the list. - Larry On Jun 9, 2005, at 11:04 AM, John Mercer wrote: urllist ftp://ftp.sunsite.utk.edu/pub/CPAN/ ftp

Re: ide

2004-07-22 Thread Larry Prall
Try ptkdb. You can get it from CPAN as Devel::ptkdb (I think; not where I can check at the moment). Then run your app as 'perl -dptkdb myapp'. On Jul 19, 2004, at 4:24 PM, Flatman wrote: hi all ! i'm using perl with tk extension in developping desktop apps . working on macosx platform, I use e

OSX, threads, signals, and END blocks

2004-04-25 Thread Larry Prall
Sorry if this is a dupe. I first sent it a couple of days ago, but never saw it show up. I have a threaded script which will eventually terminate, but which in many cases I would like to end with a Control-C. No problem. Except that I would also like to have a printout of current statistics

OSX, threads, signals, and END blocks

2004-04-23 Thread Larry Prall
I have a threaded script which will eventually terminate, but which in many cases I would like to end with a Control-C. No problem. Except that I would also like to have a printout of current statistics at the point where I send the INT. Without threads, I would simply use an END block and t

Re: BOM.pm -- what is it for?

2001-12-19 Thread Larry Prall
eware utilities out there and put their systems into an unusable state. I didn't know about the BOM module, and haven't looked at it so haven't a clue as to what it does. - Larry Prall # rm -rf /bin/laden [EMAIL PROTECTED] Get my key at http://pgpkeys.mit.edu:11371 PGP ID: 0x

Re: Tk

2001-05-12 Thread Larry Prall
On Saturday, May 12, 2001, at 08:27 AM, Bohdan Peter Rekshynskyj wrote: > At 10:30 AM +0200 5/12/01, Philippe de Rochambeau wrote: >> Has anyone succeeded in compiling Perl/Tk on MacOSX? >> >> Philippe de Rochambeau > > Yes, but I get duplicate symbols upon execution though... > You need the X l