Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 59361 invoked from network); 5 Mar 2007 19:40:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 19:40:28 -0000 Received: (qmail 45661 invoked by uid 500); 5 Mar 2007 19:40:33 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 45115 invoked by uid 500); 5 Mar 2007 19:40:31 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 45104 invoked by uid 99); 5 Mar 2007 19:40:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 11:40:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pharkins@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 11:40:20 -0800 Received: by ug-out-1314.google.com with SMTP id j3so1219779ugf for ; Mon, 05 Mar 2007 11:39:58 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JAcwLlrwR0bqB/IfWaq66l0zZE1EzoeBYcrWNYnjDTZqWlOJf3/hIUlVQ0jY3tiDvo1p6LK5/3V38WowNRJVtuSdOiUoijqhTm4gDBxbnqkeL7T8NzU9d5JMw1LZyTiXZXJX7UieITaW3j1lYhDF00hLqJZQSHnNwU44Csb22XM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SsV6910alsSVqHGM9iz14BKqMtV5VBl/gtYoPgeyck6Yn1azWfhLZBlisdSI5C6CgueooIXbbacunVdlVOoX4xk2yMt0gCib7pvsVxqfHRH8GF48BlnW0hodWybzAxPBHhYcnrKZJVZWfxip2nATnc53rw55PDKi/QQ7H6NZzoI= Received: by 10.114.52.1 with SMTP id z1mr1415327waz.1173123597790; Mon, 05 Mar 2007 11:39:57 -0800 (PST) Received: by 10.115.33.12 with HTTP; Mon, 5 Mar 2007 11:39:57 -0800 (PST) Message-ID: <66887a3d0703051139l214f62f4tcd34d9987b83b579@mail.gmail.com> Date: Mon, 5 Mar 2007 14:39:57 -0500 From: "Perrin Harkins" To: "Tyler Bird" Subject: Re: Detecting Unused Variables Cc: modperl@perl.apache.org In-Reply-To: <45E5F80F.5040504@epromo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45E5F80F.5040504@epromo.com> X-Virus-Checked: Checked by ClamAV on apache.org On 2/28/07, Tyler Bird wrote: > I was wondering if there was some way I could run a script and have it > detect all unused variables for me? No. You might be able to write a tool to do static analysis on your code using PPI (from CPAN). It's what Perl::Critic uses. - Perrin