The issue seems to involve the "Module::Installed::Tiny dependency tree" — that doesn't look very Tiny to me.

Sheesh! I never noticed that. The deps are ALL related to test prereqs.

I liked the premise of the distribution, so I wrote my own. Module::Installed. It not only checks single modules, but I added a function that will list all includes in a file and whether or not they are installed or not. There are no non-core deps. PPI is required to use the includes_installed() function, but we load it dynamically only if it's available:

use warnings; use strict; use Data::Dumper; use Module::Installed qw(module_installed includes_installed); my $module = 'PPI'; my $file = '/home/spek/repos/module-installed/t/data/test.pl'; my $statement = module_installed($module) ? "is installed" : "isn't installed"; print "$module $statement\n\n"; print "Checking includes in file $file\n\n"; my $includes = includes_installed($file); print Dumper $includes;

Output:

PPI is installed Checking includes in file /home/spek/repos/module-installed/t/data/tes +t.pl $VAR1 = { 'Carp' => 1, 'Not::Installed' => 0, 'strict' => 1, 'warnings' => 1, 'Load::Fail' => 0, 'Exporter' => 1, 'Data::Dumper' => 1 };

I just finished a very large Perl project that I landed a little while ago. It's nice to be back in the Perl mindset, hammering out all manner of weird stuff. I'll take a look at the "bareword" issue in Syntax::Check later this afternoon.

Update: Holy crap, I just realized I've hit the 50 mark in published CPAN distributions!


In reply to Re^3: Perl syntax checking without `perl -c` [Syntax::Check] by stevieb
in thread Perl syntax checking without `perl -c` by kcott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.