Guys, how is any of this even a tiny bit relevant to the question Jay asked? Jay didn't ask what your favorite editor is, he asked how to configure perltidy to not add "-w" to his scripts, and leave his "use warnings;" line alone.

I don't know what the answer *is* - I dug through all of the perltidy docs, faqs, and recipe books I could lay hands on, and didn't find any relevant options. But I can say with 99% certainty that switching editors is *not* the answer. Perltidy opens a Perl file, reads and formats it, and prints out the results. It couldn't care less what editor you used to create the original.

sherm--

On Oct 5, 2006, at 3:34 PM, Joseph Alotta wrote:

Some people like TextMate also.  I think it costs $29.

www.macromates.com/


Joe.



On Oct 5, 2006, at 1:21 PM, Ted Zeng wrote:

BBedit has a free version called textwrangler. You can download from their site.



It is a very good editor.



Ted zeng



From: Michael Barto [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 10:56 AM
To: Jay Savage; [email protected]
Subject: Re: perltidy and -w flag



I know a lot of people that use Emacs on other Platforms because they have nothing else. But this is on a Mac and you have a lot of good well designed choices:

BBedit is the most popular. Try the demo for a month and you will be sold. A student license is $50.00 (http://www.barebones.com/). I use Perl to generate Web pages with Javascript. Besides debugging the Perl code as I write, BBedit has an instantaneous Web page preview of my code which is awesome. You change an entry, it instantaneous updates. There is another soruce editing program called AlphaX (Freeware). It has been around for a long time and is wonderful to do Perl Editing (http://www.maths.mq.edu.au/~steffen/Alpha/AlphaX/). It contains extensive Perl code help documentation. There is a great Perl Editor/Debugger called "Affrus" (http:// www.latenightsw.com/affrus/) which integrates with BBEdit or is standalone. I use it find the really complex issues, since when it steps throught the code it shows me what is going on in memory in a really nice graphical way, etc. Unfortunately it is expensive (around $100.00)

In all these editors, they have run at command line drop down, which is where I put my #!/bin/perl -w which is in my program. I have enclode the BBedit one as an example. Since Alpha is basically free right now,



Jay Savage wrote:


I've recently started using TextMaker to edit my Perl scripts after
many years of Emacs. On the whole I'm happy, but one thing really bugs
me: styling. I've never really used perltidy before--Emacs perl-mode
and cperl-mode have done everything I wanted. TextMate, though, uses
perltidy internally. I've got my flags pretty well set in ~/.perltidy,
but I can't for the life of me figure how to get it to stop putting
the '-w' flag on the shebang line. It also seems to occasionally eat
my 'use warnings;' when it does it.

Any thoughts?

Thanks,

-- jay--------------------------------------------------
This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.downloadsquad.com http:// www.engatiki.org

values of รข will give rise to dom!



--

Michael Barto
Software Architect

<image001.gif>

LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/



[EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple

This e-mail may contain LogiQwest proprietary information and should be treated as confidential.






Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply via email to