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

Re: [MacPerl] MacPerl beautifier? (written preferably in Perl?)



At 7:41 PM +0200 5/20/97, Eike Grote wrote:
>      http://www.arachnoid.com/lutusp/ftp/cgi/pb.txt

worked nicely for me except that it thinks $#varname has a comment in it
i replaced
    $q =~ s/\#.*?$//g; # remove Perl-style comments
with
    $q =~ s/[^\$]\#.*?$//g; # remove Perl-style comments, but not $#varname
and my formatting works better, but haven't thought about whether it creates some other new problem ....

_______
Will Neuhauser              willn@quando.com
Quando, Inc.                Tel: 1 (503) 225-1988
520 NW Davis Street         Fax: 1 (503) 225-1987
Portland, OR  97209 USA     http://www.quando.com "When you need to know when"



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