At 4:30 pm -0800 19/11/02, Heather Madrone wrote:
Is perl on the Mac going to care whether source files are Mac-style
or Unix-style? Is it going to have difficulty reading and operating
on either kind of file? What kind of text files will it write?
You can do a routine like the one below to
On Tue, 19 Nov 2002, Heather Madrone wrote:
I've already encountered a few text file anomalies on OS X. Most GUI
applications seem to default to Mac-style text files (linefeeds only),
but shell programs such as vi do not handle Mac-style text files
gracefully.
If vi fails, try vim -- it
Hello, All:
I'm absolutely new to Perl and Cocoa/Objective-C so please have patience
with me if I sound terribly uninformed. As a QA engineer, what I'm trying
to figure out is if Perl is useful for scripting apps written in Cocoa.
Basically, I want to take a finished Cocoa app and write test
In a word, NO.
What you describe - to my knowledge - can't be done with PERL. You
can pipe text commands to your input API - and that's it. You can't
emulate mouse clicks/drags or keyboard input. That's not what PERL is
used for.
What you describe - attempting to get around using
At 13:22 + 20/11/02, John Delacour wrote:
if (/\015\012/) {
$/ = \015\012 ;
} elsif (/\015/) {
$/ = \015 ;
} else {
$/ = \012 ;
}
You can do this with one regular expression which will pick up the
first line ending:
$/ = /(\015\012|\015|\012)/ ? $1: \n;
Note that because
On Tuesday, November 19, 2002, at 04:47 PM, Ken Williams wrote:
Hmm - none of those are 'dbm', though. David, can you show/quote the
page that claimed that dbm was a part of libSystem?
I think that ndbm is it. It's what Perl finds when it compiles, and
when I have gdbm installed, mod_ssl