[Wellington-pm] PPI

Florent Mara florent.mara at nzregen.co.nz
Sun Mar 19 02:03:20 PDT 2017


I use Test::Compile <https://metacpan.org/pod/Test::Compile> for basic code
validation.
I appears to by using some flavor of perl -c under the cover but it does
not require DB access in my case although I am not entirely sure why.

On Wed, Mar 15, 2017 at 11:16 AM, Sam Crawley <sam at crawley.nz> wrote:

> You could also make use of Perl::Critic (which uses PPI).
>
> https://metacpan.org/pod/Perl::Critic
>
> I would be interesting to know if either of these would have caught the
> syntax error in question (I'm guessing it would?)
>
> On 15 March 2017 at 11:05, Steve Piner <Steve.Piner at signify.co.nz> wrote:
>
>> As mentioned in the meeting, PPI might be useful for Perl-ish syntax
>> checking, without executing Perl. If you use syntax-warping modules
>> however, PPI probably won't be sufficient.
>>
>> https://metacpan.org/pod/PPI
>>
>> Another downside - it's not particularly quick. Though if your module has
>> a lot of dependencies, and is connecting to random databases, it might be
>> faster than that... :-)
>> Steve
>>
>> On 15/03/17 09:53, Grant McLean wrote:
>>
>> Hi Mongers
>>
>> Thanks to everyone who came along last night and special thanks to those
>> who did a talk.  It was an enjoyable evening and a record size crowd in
>> recent memory.  I've put up some slides/links on the web site (feel free
>> to send me yours if I didn't get it):
>>
>>     http://wellington.pm.org/archive/
>>
>> The next meeting is scheduled for April 11th.  Let me know if you'd like
>> to do a talk or suggest a topic.
>>
>> Cheers
>> Grant
>> _______________________________________________
>> Wellington-pm mailing listWellington-pm at pm.orghttp://mail.pm.org/mailman/listinfo/wellington-pm
>>
>>
>> --
>>
>> Steve Piner
>>
>> Lead Developer
>>
>> *P:* +64 4 803 3211 <+64%204-803%203211> *M:*+64 27 588 5995
>>
>> Level 9, LG House, 35 Victoria St, Wellington P.O. Box 24-068, Manners
>> St, Wellington
>>
>> *E: * steve.piner at signify.co.nz *S:* http://www.signify.co.nz
>>
>>
>> [image: Signify Logo]
>>
>> *Signify *is an innovative web and mobile development company. We are
>> about creating websites and mobile applications that are usable,
>> accessible, functional, and striking while at the same time meeting the
>> goals of our clients. We have considerable experience with Drupal, Plone,
>> SilverStripe and Umbraco content management systems.
>>
>> ____________________________________________________________
>> _______________________________________________________________
>>
>> This communication, including any attachment, is confidential. If you are
>> not the intended recipient, you should delete/destroy this communication;
>> you may not read and must not copy, send or retain any part of this
>> communication. Please do not disclose to any third party anything about
>> this communication.
>>
>> _______________________________________________
>> Wellington-pm mailing list
>> Wellington-pm at pm.org
>> http://mail.pm.org/mailman/listinfo/wellington-pm
>>
>
>
> _______________________________________________
> Wellington-pm mailing list
> Wellington-pm at pm.org
> http://mail.pm.org/mailman/listinfo/wellington-pm
>

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/wellington-pm/attachments/20170319/403b877f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: njgkanmipihahejb.gif
Type: image/gif
Size: 3924 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/wellington-pm/attachments/20170319/403b877f/attachment.gif>


More information about the Wellington-pm mailing list