Re: findbugs for Perl?
- From: "Dan Mercer" <dmercer@xxxxxxxxx>
- Date: Sat, 04 Mar 2006 05:59:38 GMT
"Jim Gibson" <jgibson@xxxxxxxxxxxxxxxxx> wrote in message news:030320061701529415%jgibson@xxxxxxxxxxxxxxxxxxxx
: In article <1141432071.876085.69000@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
: yusufm <yusufm@xxxxxxxxx> wrote:
:
: > Is there a good package like findbugs for perl code?
:
: There are two. Their names are 'strict' and 'warnings'. If you put the
: following two lines at the beginning of your Perl program, they will
: point out potential bugs in your code:
:
: use strict;
: use warnings;
You can also compile the code with
perl -c -w program
I have a compile script that determines the type of file
(usually by reading the shebang) and calls the appropriate
script compile option - perl's as above and
ksh -n file
and
ksh93 -n file
for ksh and ksh93. The script is called by hitting F4
in vim. Sure saves a lot of debug time.
Dan Mercer
:
: Posted Via Usenet.com Premium Usenet Newsgroup Services
: ----------------------------------------------------------
: ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
: ----------------------------------------------------------
: http://www.usenet.com
.
- References:
- findbugs for Perl?
- From: yusufm
- Re: findbugs for Perl?
- From: Jim Gibson
- findbugs for Perl?
- Prev by Date: Re: A Problem With GD
- Next by Date: Re: A Problem With GD
- Previous by thread: Re: findbugs for Perl?
- Next by thread: present <*<!TENSE!>*> ... compare past *pArty*SimPull!
- Index(es):
Relevant Pages
|