"be consistent" | |
PerlMonks |
Re^7: How to do perl -c inside perl?by rockyb (Scribe) |
on Aug 31, 2012 at 01:58 UTC ( [id://990896]=note: print w/replies, xml ) | Need Help?? |
I've now dotted all the i's and crossed all the t's to make this a full-fledged package with tests and pod. That said, I am a little disappointed in the benefit of this over say system("perl -c $program 2>/dev/null"). Presumably it might work on more OS's. The main benefit I see putting this out there is for pedagogical purposes or for using this as a spring-board to do more — like avoiding the perl call altogether. Sigh. Sometimes life is like that. Better luck, next lifetime.
In Section
Seekers of Perl Wisdom
|
|