http://www.perlmonks.org?node_id=808884


in reply to Re: RFC: Porting map() and grep() to AppleScript
in thread RFC: Porting map() and grep() to AppleScript

It is? I thought this was Facebook... ;-)

Seriously, that's why I posted on Meditations as an RFC. I wasn't sure if it would be welcome as a real node. Maybe consider it a form of Perl advocacy in the AppleScript world, speaking the native language in order to reach more potential converts.

  • Comment on Re^2: RFC: Porting map() and grep() to AppleScript

Replies are listed 'Best First'.
Re^3: RFC: Porting map() and grep() to AppleScript
by zentara (Archbishop) on Nov 23, 2009 at 18:20 UTC
    ... i thought it was twiiter :-)

    ...seriously.... the conventional way to introduce non-perl scripts here, is to wrap them in an here doc, like:

    #/usr/bin/perl my $scriptSrc = <<"EOF"; <SCRIPT LANGUAGE="APPLESCRIPT"> # all your applescript here EOF print $scriptSrc,"\n";
    ... then everybody is happy

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku

      Indeed, you need to wrap it that way otherwise the site gets syntax coloring and reindenting wrong. You also need to add use warnings; use strict; though, or it will get rejected on the base that you'd find the trivial errors if you enabled those.