• 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: perl in scriptmenu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl in scriptmenu


  • Subject: Re: perl in scriptmenu
  • From: Reinhold Penner <email@hidden>
  • Date: Tue, 3 Sep 2002 19:27:49 -1000

JD,

#!/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:

#!/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.

-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.

  • Follow-Ups:
    • Re: perl in scriptmenu
      • From: John Delacour <email@hidden>
References: 
 >Re: perl in scriptmenu (From: John Delacour <email@hidden>)

  • Prev by Date: Re: MS-DOS better than Applescript??
  • Next by Date: Re: perl in scriptmenu
  • Previous by thread: Re: perl in scriptmenu
  • Next by thread: Re: perl in scriptmenu
  • Index(es):
    • Date
    • Thread