Re: Do Perl Script?
Re: Do Perl Script?
- Subject: Re: Do Perl Script?
- From: John Delacour <email@hidden>
- Date: Sat, 7 Jun 2003 00:32:32 +0100
- Mac-eudora-version: 6.0b20
At 2:32 pm -0700 6/6/03, Christopher Nebel wrote:
I'm not sure if JD intended his example to demonstrate one of these
"insoluble" problems or not,
Not
but it works quite easily with perl -e:
Wait till it stumbles across a single quote.
The upshot of this is: use the appropriate technique for the task.
The exact limits depend on your personal tolerances, but the rule
of thumb I use is to use "perl -e" for anything less than 5 lines
of Perl.
So long as you have no single quotes etc. lying around. If the data
it has to deal with are predictable, then fine. If unknown file
contents are to be handled, then perl -e is out.
JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.