Re: perl in scriptmenu
Re: perl in scriptmenu
- Subject: Re: perl in scriptmenu
- From: Reinhold Penner <email@hidden>
- Date: Tue, 3 Sep 2002 21:05:05 -1000
JD,
On Tuesday, Sep 3, 2002, at 20:48 Pacific/Honolulu, John Delacour wrote:
At 7:27 pm -1000 3/9/02, Reinhold Penner wrote:
#!/usr/bin/perl
open F, '>/private/tmp/junk.txt'; print F "Success"; close F;
You say it works. Can someone else please try it and confirm this.
The script above did not work. But when I changed it to a valid dir,
it did work:
That is a valid directory on anyone's system ! , and I've made it
clear that the script runs fine from the Terminal or from BBEdit.
Sorry, I meant "visible". I just ran it again and just now it actually
did create the file in private/tmp, although I had to refresh the
directory for it to show up (maybe that's why I thought it didn't do it
the first time).
Well, I've just run the install disk and reinstalled the menu and
still it doesn't work from the menu, no matter where I try to create
the file, so I remain very confused. Since the file is executable and
runs in every other environment and since I've tried every variation
of line endings, I can't think what else I can do.
Dude, you're getting a Dell :-)
-Reinhold
_______________________________________________
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.