Re: perl in scriptmenu
Re: perl in scriptmenu
- Subject: Re: perl in scriptmenu
- From: John Delacour <email@hidden>
- Date: Wed, 4 Sep 2002 07:48:48 +0100
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.
#!/usr/bin/perl
open F, '>/junk.txt'; print F "Success"; close F;
I got a junk.txt file containing the word Success at the root of my disk.
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.
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.