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
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
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
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
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
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
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
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
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
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
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
or the like.
Have you considered Mail::Bulkmail?
http://search.cpan.org/~jimt/Mail-Bulkmail-3.12/Bulkmail.pm
-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
.
-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
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()
to differ by individual.
-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
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
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
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
it. The
change is minor. Barring that, write the code that is most clear.
The first two versions are always throw aways.
-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.
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
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
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
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
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
);
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
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
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
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
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
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
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
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
::Find
(although it's part of the core install, I b'lve)
-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
run it as
perl perl_script.pl
you don't need to set the executeable bit at all.
-Jeff Lowrey
assistance in perldoc -f getpwuid
-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
, 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
-
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
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
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
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
46 matches
Mail list logo