Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to do perl -c inside perl?

by Anonymous Monk
on Aug 28, 2012 at 18:12 UTC ( #990294=note: print w/ replies, xml ) Need Help??


in reply to How to do perl -c inside perl?

Test::Compile ?
Comment on Re: How to do perl -c inside perl?
Replies are listed 'Best First'.
Re^2: How to do perl -c inside perl? (Test::Compile)
by tye (Sage) on Aug 28, 2012 at 18:25 UTC

    Diving through the (surprising number of) layers, it looks like Test::Compile just does "require Foo" and sees if that fails, rather than actually preventing the code of the module from being run. Though it does run "perl -c" for a non-module file (and doesn't handle Perl code in a string).

    - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990294]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2016-04-29 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.