• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Calling Perl from AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling Perl from AppleScript


  • Subject: Re: Calling Perl from AppleScript
  • From: debt <email@hidden>
  • Date: Mon, 06 Mar 2017 12:22:22 -0800

> On Mar 6, 2017, at 11:41 AM, Thomas Fischer <email@hidden> wrote:
>
> or die "cannot open > test.txt: $!“;

	Thanks, Thomas.  Adding the “die” statement produced this:

Couldn't open test.txt: Permission denied at /Users/work/Desktop/code/AppleScript/test.pl

	So… it appears that the Perl script _is_ being run but it can’t open the text file.  This is odd since running the Perl script directly works perfectly.

	The permissions on the file are set to 666.  What more is AppleScript looking for?

Marc


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Calling Perl from AppleScript
      • From: "Jacopille, David" <email@hidden>
References: 
 >Calling Perl from AppleScript (From: debt <email@hidden>)
 >Re: Calling Perl from AppleScript (From: Thomas Fischer <email@hidden>)

  • Prev by Date: Re: Calling Perl from AppleScript
  • Next by Date: Re: collectdata
  • Previous by thread: Re: Calling Perl from AppleScript
  • Next by thread: Re: Calling Perl from AppleScript
  • Index(es):
    • Date
    • Thread