Re: Perl Module Installation

2006-08-24 Thread Jeff Lowrey
I much prefer telling the System Administrators to install the Perl modules I need, wherever they choose as long as I can access them. Then I can conveniently forget that I know how to spell CPAN. -jeff lowrey

Re: incantation for uploading shift-jis files

2005-12-24 Thread Jeff Lowrey
At 04:17 PM 12/24/2005, Joel Rees wrote: I think that the problem is that I have set the encoding (multi-part) for the post, but not for the file part, and I can't figure out how to set the encoding for the file part. Encoding is set as a MIME header on each MIME part - or can be. -jeff

Re: CGI to OS X?

2005-11-05 Thread Jeff Lowrey
At 06:18 PM 11/5/2005, Bill Stephenson wrote: I have a web based app that I've developed on my MacOS X desktop (and iBook) using perl and some modules I've installed. To test it I use the built-in apache web server and Safari web browser pointed at http://localhost/cgi-bin/myApp.cgi;. Right

Re: CPAN

2005-10-29 Thread Jeff Lowrey
At 10:35 AM 10/29/2005, Dave Linton wrote: So, I've got a serious lack of understanding on my part about how to set things up - I don't know enough to know if it's a Perl configuration or a validator problem. Suggestions would be welcome. (I'm running Mac OS X 10.3.9 with the Perl that came

Re: How to find out if an application is running

2005-10-13 Thread Jeff Lowrey
At 01:36 PM 10/13/2005, Ted Zeng wrote: As it turns out, only Sherm's version works For all the situations. Actually, merely for the situation that you didn't tell us you were aiming for. You asked How to find out if an application is running. You didn't ask How do I find out a PID so I can

Re: How to find out if an application is running

2005-10-12 Thread Jeff Lowrey
of code to run on multiple OSes, you will need to code to detect which platform it's running on, and then DTRT on that platform. -Jeff Lowrey At 05:37 PM 10/12/2005, Ted Zeng wrote: Hi, I would like to find out if an application like Illustrator is running On OS X or not from a perl script

Re: Heredoc

2005-02-18 Thread Jeff Lowrey
In perl it's a heredoc. You use instead of , and you need to specify EXACTLY what you put AFTER the as the terminator. So, in the example you posted, you would put $foo=EOD ... EOD; You can't have spaces before the EOD; terminator unless the same number of spaces also follows the . -Jeff

Re: TextWrangler

2005-01-21 Thread Jeff Lowrey
At 07:10 AM 1/21/2005, Ken Williams wrote: See http://www.barebones.com/products/bbedit/threeway.shtml for a 3-way comparison between BBE, TW, and BBELite. While we're playing around with Editor Wars... Visual Slick Edit v9 from http://www.slickedit.com/mac/ will run on OS X. -Jeff Lowrey

Re: catnip.local (redirect)

2005-01-06 Thread Jeff Lowrey
I might actually look at the apache configuration, and see if it's using ServerName=catnip.local, and fix that. -jeff At 04:08 PM 1/6/2005, Gregg R.Allen wrote: I'm not sure where it's being stored, it's probably being cached in the browser somewhere. If you edit the file /etc/hosts and place

Re: [OT] Text Editor for OSX

2004-10-05 Thread Jeff Lowrey
I'd suggest looking at Eclipse. It's free, and should have all the XML editing goodness you're looking for, and should support the web development kinds of things as well. -Jeff

Re: Incorrect Path or format?

2004-07-27 Thread Jeff Lowrey
to somewhere else like '/etc/mail', then perl ./Documents/simple_print would be equivalent to perl /etc/mail/Documents/simple_print where perl ~/Documents/simple_print will always be equivalent to perl /Users/username/Documents/simple_print. -jeff lowrey who probably is not the first or only person

Re: Simple perl script send email

2004-05-03 Thread Jeff Lowrey
or the like. Have you considered Mail::Bulkmail? http://search.cpan.org/~jimt/Mail-Bulkmail-3.12/Bulkmail.pm -Jeff Lowrey

Re: Advice for enabling perl on OSX

2004-04-22 Thread Jeff Lowrey
that in the configuration tool for OS X Server will cause web sites to move to port 16080. But the config tool also lets you restart the Apache instance. -Jeff Lowrey

Re: OT: Revealed Email Passwords???

2004-04-05 Thread Jeff Lowrey
. -Jeff Lowrey

Re: Getting the size of a folder with Mac::Glue

2004-03-17 Thread Jeff Lowrey
. And as Ken Williams said, du may not take resource forks into account properly. -Jeff Lowrey On 3/16/04 7:03 AM, Jeff Lowrey [EMAIL PROTECTED] wrote: At 01:48 AM 3/16/2004, Rick Measham wrote: I'm trying to get the size of a folder and figure Mac::Glue would be the way to go. However I'm

Re: Getting the size of a folder with Mac::Glue

2004-03-16 Thread Jeff Lowrey
At 01:48 AM 3/16/2004, Rick Measham wrote: I'm trying to get the size of a folder and figure Mac::Glue would be the way to go. However I'm getting back a 0: my $size = $finder-data_size($monthdir/$folder/); print $size; From my own mistakes with Mac::Glue, I'm guessing you need to add a -get()

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-12 Thread Jeff Lowrey
to differ by individual. -Jeff Lowrey

Re: Unwelcome product announcement

2004-03-12 Thread Jeff Lowrey
a post that you feel is off-topic, then please direct your complaints to the list administrators, and not to the list. -Jeff Lowrey

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Jeff Lowrey
difference between this announcement and Sherm Pendley's recent announcement about a new version of CamelBones. And I find the *discussion* of the appropriateness of the announcement more offensive than the announcement itself. -Jeff Lowrey

Re: how do I test a new CPAN module?

2004-01-31 Thread Jeff Lowrey
perl skills are so rudimentary at the moment that is not the most attractive debugging option. CPAN should run 'make test' for you when you install. -Jeff Lowrey

Re: Breaking up a long string...

2003-12-30 Thread Jeff Lowrey
At 9:52 PM -0500 12/29/03, Andrew M. Langmead wrote: On Dec 29, 2003, at 8:36 PM, Jeff Lowrey wrote: At 4:01 PM -0600 12/29/03, Andy Lester wrote: So if it matters in the future, go right ahead and refactor it. The change is minor. Barring that, write the code that is most clear. The first

Re: Breaking up a long string...

2003-12-29 Thread Jeff Lowrey
it. The change is minor. Barring that, write the code that is most clear. The first two versions are always throw aways. -jeff lowrey

[OL] Re: [OT] OSX privileges question

2003-09-23 Thread Jeff Lowrey
At 6:14 PM -0700 9/22/03, Rich Morin wrote: Let's back up a bit. Explain, in more abstract terms, what you're trying to accomplish. That may allow enough wiggle room to allow a Unixish solution. I try to stay out of the wiggle room, myself. I find the jackets fit just a little too tight.

Re: Mac::Glue and aliases

2003-09-16 Thread Jeff Lowrey
At 6:14 PM -0700 9/15/03, Chris Nandor wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jeff Lowrey) wrote: snip Are you sure about that? If I were sure, then I woudn't have asked... :-) And here's my version: use Mac::Glue; my $iTunes = Mac::Glue-new(iTunes); my $alias = $iTunes

Re: Mac::Glue and aliases

2003-09-16 Thread Jeff Lowrey
At 8:27 AM -0400 9/16/03, Jeff Lowrey wrote: It works, at least. But what I really want, my @alias = $iTunes-prop(location=file_tracks,library_playlist='Library'); doesn't seem to. At least, if I do use Mac::Glue my $iTunes=Mac::Glue-new(iTunes); my @alias = $iTunes-prop(location=file_tracks

Re: Mac::Glue and aliases

2003-09-16 Thread Jeff Lowrey
At 8:57 AM -0400 9/16/03, Jeff Lowrey wrote: At 8:27 AM -0400 9/16/03, Jeff Lowrey wrote: It works, at least. But what I really want, my @alias = $iTunes-prop(location=file_tracks,library_playlist='Library'); doesn't seem to. At least, if I do use Mac::Glue my $iTunes=Mac::Glue-new(iTunes); my

Mac::Glue and aliases

2003-09-15 Thread Jeff Lowrey
that. And putting it into string context doesn't seem to work (at least not with the concatenation operator). And 'as=string' doesn't work. And and and... Any suggestions? -Jeff Lowrey

Re: installing expat

2003-09-10 Thread Jeff Lowrey
From a different thread ( XML::Parser and expat compile? ) here, Pete Proedehl had this to say: At 8:20 AM -0600 3/8/02, Pete Prodoehl wrote: This worked for me: http://sourceforge.net/tracker/index.php?func=detailaid=502187group_id=10127atid=310127 Pete -Jeff Lowrey At 4:42 PM -0500 9/9/03

Re: Ordering keys in a hash

2003-08-05 Thread Jeff Lowrey
); but I don't really know how to approach the criterion() function Use substring to access the parts of the key you want to sort on. This is also a FAQ, I think. -Jeff Lowrey

Re: DropScript confusion about cwd

2003-07-12 Thread Jeff Lowrey
At 10:25 AM -0500 7/12/03, Steven Bach wrote: Well, that's flat-out ridiculous. Perl is HARD compared to Applescript. That is a matter of opinion. Actually, it's NOT a matter of opinion. Many people have differing opinions, but that's not the same thing. It's a matter of marketing, flat

Re: DropScript confusion about cwd

2003-07-11 Thread Jeff Lowrey
At 10:29 AM -0700 7/11/03, Chris Nandor wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Chip Howland) wrote: At 1:10 AM +0900 7/11/03, Robin wrote: But if I have to have a double clickable perl script I prefer using the '.command' technique because I really believe Apple should just

Re: [MacPerl] Re: problem with Japanese text

2003-03-28 Thread Jeff Lowrey
At 6:47 PM +0900 3/28/03, Robin wrote: On Friday, March 28, 2003, at 02:14 pm, Dan Kogai wrote: On the other hand, counting can be tricky even for natives. The very name of numbers changes depending on what you count. parallels for this in English can be seen in English group names - a

Re: A Wheeler by anyother name...

2003-03-15 Thread Jeff Lowrey
and refers to people as they name themselves. I'm sure the OP has been adequately instructed on this point by now. Hopefully, he's taking advantage of the fine weather we're having today to get out and stroll around Lake Monona. -jeff lowrey

Re: Non-Perl but baffling question

2003-02-25 Thread Jeff Lowrey
At 10:12 AM +1100 2/26/03, John Horner wrote: How do I find out if it's 10.1.3 or 10.1.5 from the command-line? [toothgnip:~] jeff% osascript -e 'tell application Finder to version' osascript -e 'tell application Finder to version' 10.2.1 -jeff lowrey

Re: where to put things?

2003-01-15 Thread Jeff Lowrey
don't know if it's a Well-Known Place, but Adobe and Macromedia seem to use /Library/Application Support/myApp/ for that kind of thing. -Jeff Lowrey

Re: OT: CVS clients and BBEdit diff tool ...

2002-12-03 Thread Jeff Lowrey
of Mac::Carbon), which does exactly this. -Ken Or use an alternate form of the open command in Applescript and let the Finder look the app up by it's creator code for you. Or use the `open` command directly, instead of through AppleScript. Or TIMTOWTDI. -Jeff Lowrey

Re: -d

2002-11-02 Thread Jeff Lowrey
::Find (although it's part of the core install, I b'lve) -Jeff Lowrey

Re: Installing gd.pm

2002-10-27 Thread Jeff Lowrey
get the following. bhmecham% make Are you sure you shouldn't be trying to do this as root or a sudo'd user, instead? -Jeff Lowrey

Re: [OT?] How to run scripts on OS X (reference needed)

2002-10-26 Thread Jeff Lowrey
run it as perl perl_script.pl you don't need to set the executeable bit at all. -Jeff Lowrey

Re: Check for root level access in a Perl script

2002-10-26 Thread Jeff Lowrey
assistance in perldoc -f getpwuid -Jeff Lowrey

OT: SMTP AUTH and sendmail

2002-09-24 Thread Jeff Lowrey
levels of success, but i've not been able to get sendmail to recognize that it's there. I haven't quite yet moved to 10.2, but will if that will help. any hints,tips, instructions welcome. -Jeff Lowrey

Re: Accessing AFP remote volumes?

2002-05-01 Thread Jeff Lowrey
, I'm using FTP to access these remote volumes. Is there a better way? Maybe you want to use osascript and AppleScript to do this. mount volume is your friend. -Jeff Lowrey

Re: Security issues surrounding becoming root

2001-10-18 Thread Jeff Lowrey
- regardless of my particular interest or lack-thereof in the topic. Unless we're talking about a perl script to fix any such security issues with OSX, or how to avoid such security issues from perl under OSX. -Jeff Lowrey

Re: Cocoa interfaces

2001-09-18 Thread Jeff Lowrey
the Objective-C runtime so it can be called from C. You obviously missed the beginning of this thread, which included a link (http://developer.apple.com/samplecode/Sample_Code/Cocoa/Cocoa_With_Carbon_or_C__.htm) to instructions for how to call Objective C from C, and the other way around. -Jeff

Re: Cocoa interfaces

2001-08-26 Thread Jeff Lowrey
At 9:56 AM -0500 8/26/01, Ken Williams wrote: [EMAIL PROTECTED] (Jeff Lowrey) wrote: At 11:20 PM -0500 8/25/01, Ken Williams wrote: [EMAIL PROTECTED] (Christian Jaeger) wrote: How to access cocoa through plain C? That's the million dollar question, I haven't heard an answer yet. And yet, I've

Re: Apache local setup for CGI

2001-06-26 Thread Jeff Lowrey
but not in the browser. Can someone advise me what I need to do to get it to run test scripts? What do your web server log files say when you try and run your script? Have you checked the faqs for what to do when scripts run from the terminal, but not the browser? -Jeff Lowrey