Re: Thanks Apple! You snubbed perl yet again!

2007-10-17 Thread Trey Harris
In a message dated Wed, 17 Oct 2007, [EMAIL PROTECTED] writes: Yes, it does come with Mac::Carbon, and yes there is CamelBones. I just think that Apple seems to ignore mentioning perl in their fancy marketing campaigns. I get frustrated by that since there is a misunderstanding about perl in

Re: Is there a True Boolean type in Perl?

2007-10-17 Thread Trey Harris
In a message dated Mon, 15 Oct 2007, Doug McNutt writes: At 18:20 -0700 10/15/07, Michael Barto wrote: I think in the more newer languages, they have implemented true booleans. Perl is kind of old school. use constant TRUE = 1; use constant FALSE = 0; Is a complete solution in perl 5.

Re: LWP install error

2007-08-28 Thread Trey Harris
In a message dated Tue, 28 Aug 2007, Marek Stepanek writes: First I installed a new Perl 5.8.8 in /usr/local/ - Apple's OSX is up-to-date and Xcode installed! First something, where I am not sure about: I made % mv /usr/bin/perl /usr/bin/perl_out % ln /usr/local/bin/perl5.8.8 /usr/bin/perl Is

Re: CamelBones on MySpace

2007-01-17 Thread Trey Harris
In a message dated Wed, 17 Jan 2007, Sherm Pendley writes: So I have what I wanted, and my own day-to-day use of Perl is basically just web-related stuff. I've toyed with other ideas, but everything I've thought of have seems a bit contrived, like a solution in search of a problem. I think a

Mac::Growl failure with PerlObjCBridge

2006-06-04 Thread Trey Harris
When attempting to make test, I get: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch') t/*.t t/Mac-Growlok 1/11 ERROR PerlObjCBridge: convertPerlToObjC(): Referenced thingy not blessed ERROR

Re: chmod not working on firewire drive

2005-04-25 Thread Trey Harris
I've had the same thing happen, though I don't really understand what's going on terribly well. If Ignore ownership on this volume is clicked in the Finder's Get Info window for the volume, and it got mounted at boot time (i.e., by root), or by another user, it seems like this can happen. Try

Re: newbie question about chmod

2005-04-24 Thread Trey Harris
JD, What you write isn't true, unless your umask is set to an odd value (I mean 'odd' both literally and figuratively). Did you try it? perl temp.pl will work, but ./temp.pl won't--you can only execute an executable file. In the perl temp.pl case, temp.pl isn't being executed--it's data that

Re: newbie question about chmod

2005-04-24 Thread Trey Harris
Well, you're running *chown*, which changes ownership--you should be running 'chmod'. Only root can run chown, so you need administrator rights for chown, but not chmod. Try chmod +x Desktop/dbeacon instead. (The '-R' recursive flag is unnecessary on regular files, you just need it on

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Trey Harris
In a message dated Wed, 22 Dec 2004, Isaac Sherman writes: Then, when, in the terminal, I typed: hw.pl while in the same directory, I got the following message. tcsh: hw.pl: Command not found. My meanderings in the Terminal showed that /usr/bin/perl does indeed exist. I also tried chmod 755

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Trey Harris
In a message dated Wed, 22 Dec 2004, Trey Harris writes: 1. setting PATH to include .: setenv PATH $PATH:. Sorry, that should have been setenv PATH ${PATH}:. Sorry, tcsh isn't my primary shell and I confuse the syntax sometimes. (In bash, zsh, or other Bourne-compatible shells

Re: File::stat

2004-12-13 Thread Trey Harris
File::stat does not invoke the external command stat. It uses CORE::stat, which is implemented by library call. Don't know why you're having trouble (I have no trouble with either call), but the lack of /usr/bin/stat isn't the culprit. Trey In a message dated Mon, 13 Dec 2004, Tom McDonough

Re: Getting size of IMAP mailbox

2003-05-27 Thread Trey Harris
implement solutions using Windows are less likely to be generally reasonable people. ;-) Trey -- Trey Harris Vice President SAGE -- The System Administrators Guild (www.sage.org) Opinions above are not necessarily those of SAGE.

Re: Minor Recomendation

2003-03-17 Thread Trey Harris
of the .signature.) -- Trey Harris Vice President SAGE -- The System Administrators Guild (www.sage.org) Opinions above are not necessarily those of SAGE.

Re: please end this (Re: A .. by anyother name...)

2003-03-16 Thread Trey Harris
. If anything, netiquette says that comments that are of less-than-general interest should *not* be posted to the list at large. -- Trey Harris Vice President SAGE -- The System Administrators Guild (www.sage.org) Opinions above are not necessarily those of SAGE.

Re: word list generator?

2003-03-07 Thread Trey Harris
In a message dated Fri, 7 Mar 2003, Warren Pollans writes: I would like to build a scrabble/crossword_puzzle cheater. I think I want to do this by generating lists of words to choose from. For example, I'd eventually like to be able to do the following: list all n-letter, with N1 n

Re: Non-Perl but baffling question

2003-02-25 Thread Trey Harris
In a message dated Tue, 25 Feb 2003, drieux writes: On Tuesday, Feb 25, 2003, at 18:20 US/Pacific, Chris Devers wrote: [..] And, now that I try it, it also looks inaccurate: % sw_vers | grep 'ProductVersion' | awk '{print $2}' 10.2.4 % [..] hence for moral purity we

Re: Printing to printer

2003-02-08 Thread Trey Harris
In a message dated Sat, 8 Feb 2003, Tom McDonough writes: I've used perl on my mac os X.2 for use on the terminal and cgi scripts on a website but I've never printed to the printer directly from a perl program. I know I have to open a filehandle but I don't know the filehandle name to use -

Re: Phantom Line Numbers

2003-01-06 Thread Trey Harris
In a message dated Mon, 6 Jan 2003, Christopher D. Lewis writes: Any ideas how I debug lines which don't exist? Any ideas why Perl is reporting nonexistent line numbers? Perl 5.8.0. What modules are you using? If you're using any source filters, line numbers will be incorrect. Trey --

hiding NSViews

2002-12-07 Thread Trey Harris
is it? :-) Trey -- I'm looking for work. If you need a senior SAGE Level IV sysadmin with 10 years Perl, tool development, training, and architecture experience, please email me at [EMAIL PROTECTED] I'm willing to relocate for the right opportunity. Resume: http://www.ibiblio.org/harris/trey

Re: hiding NSViews

2002-12-07 Thread Trey Harris
In a message dated Sat, 7 Dec 2002, Sherm Pendley writes: On Saturday, December 7, 2002, at 04:19 PM, Trey Harris wrote: Can someone tell me how to hide views? That is, in IB, I create all the elements of my interface, but some of them I want to not be displayed when the app starts

Re: How do you install modules in OS X?

2002-10-31 Thread Trey Harris
How strange. How sucky. My iMac (15) came with Developer Tools. My Jaguar up-to-date upgrade came with Developer Tools, too. Trey In a message dated Thu, 31 Oct 2002, Vic Norton writes: Thanks for the help, everyone. I've spent much of the afternoon trying to find out how to get the

Re: perl-5.8 and QuickTime updater

2002-10-28 Thread Trey Harris
Wild. I just have two questions: 1) Why did Perl ever accept uppercase operators in the first place? I see that if you run under warnings, you get a use of EQ is deprecated error, so I assume it's some usage so historical as to be before my time (and I've been doing Perl for almost

Re: Check for root level access in a Perl script

2002-10-26 Thread Trey Harris
Did you test this code snippet it? It won't work. You can't use a numeric comparison to test for stringwise equality. (Sorry to be nitpicky, but it matters here.) One of the cardinal rules of defensive programming, at least in the Unix world, is that you shouldn't check if you can do

Ad-hoc networked app?

2002-10-25 Thread Trey Harris
I'm wondering the best way to attack the problem of an app that wants to talk to other machines running the app on the same network segment. If this were straight Unix, I think I'd send out broadcasts and listen for them, but I'm wondering if there's a better way under OS X. (For various

Re: Ad-hoc networked app?

2002-10-25 Thread Trey Harris
In a message dated Fri, 25 Oct 2002, bob ackerman writes: Any thoughts? Obviously I'd prefer something I can do with pure Perl, but if I have to dip into ObjC or even Java, I can deal. are you saying you are going to pick a language to write the app in? No, the app will be in Perl, but I'm

Re: Ad-hoc networked app?

2002-10-25 Thread Trey Harris
In a message dated Fri, 25 Oct 2002, Sherm Pendley writes: Unfortunately, the current version of CamelBones uses a set of hand-rolled wrapper classes. So, in order to use random ObjC code, you'll need to write a wrapper class around the relevant classes, like so: NSNetService::ISA =

Re: OS X meltdown

2002-10-24 Thread Trey Harris
In a message dated Thu, 24 Oct 2002, Ian Ragsdale writes: You should be able to re-install without having to reinstall everything. Since only Apple stuff goes in /System, the archive install option on the 10.2 disk should move the /System folder and reinstall all the system files without

Re: OS X meltdown

2002-10-24 Thread Trey Harris
In case anyone wonders (or cares), I ran DiskWarrior last night, and after twelve hours (!) of repair, my machine came back behaving much more nicely. At the very least, I could once again use the Finder. I also ran the Disk Permissions Repair. Unfortunately, the fonts are still all missing

Re: OS X meltdown

2002-10-23 Thread Trey Harris
In a message dated Wed, 23 Oct 2002, William H. Magill writes: There is a version file that gets clobbered which prevents the GUI from starting up. /System/Library/CoreServices/SystemVersion.plist Not my problem--the file I have and the file you posted match, but thanks for the

Re: OS X meltdown

2002-10-23 Thread Trey Harris
In a message dated Wed, 23 Oct 2002, Charles Albrecht writes: At 11:48 AM -0500 10/23/2002, Puneet Kishor wrote: if you do turn off the computer, then either remember to run psync before turning it off, or figure out how to have it run automatically on shutdown. Although SystemStarter,

Re: scripts don't run

2002-10-23 Thread Trey Harris
In a message dated Wed, 23 Oct 2002, Sherm Pendley writes: On Wednesday, October 23, 2002, at 10:13 PM, Trey Harris wrote: In a message dated Wed, 23 Oct 2002, Sherm Pendley writes: To be more specific: If you're installing 5.8.0 on a clean system - i.e. you haven't installed any CPAN