Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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

by zentara (Archbishop)
on Nov 23, 2009 at 18:20 UTC ( [id://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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-07-14 01:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.