in reply to Re^6: How to do perl -c inside perl?
in thread How to do perl -c inside perl?
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.
|
|---|