Thanks for all the responses.
Although many mentioned uses of code that are for snippets, , program output, etc., this could be resolved with a new tag, such as <lit>stuff here</lit>, which would act like code tags in everyway except trying to compile the ontents.
The issues of code that runs in BEGIN blocks is much tougher. This would have to be dealt with or disabled, diminishing the usefulness of this tool.
As far as people posting in other languages, screw 'em, there are no other languages. JUST KIDDING!An additional problem: if perlmonks is on *NIX, (Netcraft indicates FreeBSD) Win32:: modules have no chance of working.
If this were to be implmented at all, it would have to be an advisory, rather than a requirement.
Thanks again, everyone.
--Bob Niederman, http://bob-n.comIn reply to Re: Require everything between innermost <code></code> tags to compile.
by bobn
in thread Require everything between innermost <code></code> tags to compile.
by bobn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |