Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: RFC: Porting map() and grep() to AppleScript

by zentara (Archbishop)
on Nov 23, 2009 at 18:20 UTC ( #808890=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re^4: RFC: Porting map() and grep() to AppleScript
by ambrus (Abbot) on Nov 24, 2009 at 11:29 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://808890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2023-02-03 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (28 votes). Check out past polls.

    Notices?