|The stupid question is the question not asked|
Re^3: How to do perl -c inside perl?by BrowserUk (Pope)
|on Aug 28, 2012 at 16:40 UTC||Need Help??|
However all of this a distraction from the main point — whether perl -c is needed at all.
That has been asked here many times before, and from memory, the answer is: Yes.
Ie. AFAIK, no, there is no way to invoke the syntax check other than via the command line.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.