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 reply to Re^7: How to do perl -c inside perl?
by rockyb
in thread How to do perl -c inside perl?
by rockyb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |