Re: shell-perl problems
Re: shell-perl problems
- Subject: Re: shell-perl problems
- From: phildobbin <email@hidden>
- Date: Sat, 20 Dec 2003 11:38:12 +0000
On 20/12/03 06:17, "John Fowler" <email@hidden> wrote:
[...]
>
PS on the web page
>
http://developer.apple.com/technotes/tn2002/tn2065.html, perl is called
>
with a -n thingie as well as a -e thingie. What does the -n do?
>
(Putting it into my script didn't help).
The `-n' causes Perl to assume the following loop around your script which
makes it iterate over filename arguments:
LINE:
While (<>) {
... # this bit being your script
}
Regards,
Phil.
--
sig left intentionally blank
_______________________________________________
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.