[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Document Contains No Data (fwd)



In message "[MacPerl] Document Contains No Data (fwd)", Mark Manning/Muniz
Eng. wrote:

>2. Create a new file (if you are on a Unix system) which
>contains commands.  Make the file executable.  Then run
>it.  The commands are:
>
>perl -c <filename>
>
>Where <filename> is the name of your perl scripts.  Run
>this and let Perl check the syntax of your program for
>errors.  Very handy when writing Perl programs.  If you are
>on a Mac (and thus using MacPerl), I believe you can do
>this under MPW.

I do this by adding -c to the shebang line. I have a keyboard shortcut that
runs macperl using Bradls plugins. Very quick and handy.

_____________________________________________________________________
David Turley
dturley@pobox.com
http://www.pobox.com/~dturley

"You don't want to be the only person sitting on a crocodile's back."
                                        -- heard on a PBS nature show
     ______________________________________________________________________




***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch