Neat idea, but it won't work :-) Perl code on the web, when accessed, is run first (via the webserver) -- it's always the output of the Perl code which you will see.. which is typically HTML, in this situation.
Thats not to say there aren't any good places for Perl code on the web though. There are literally hundreds or thousand of tutorials to assist you in all levels of Perl coding.. many of which were written by people on this site. Might I recommend using the search features
here to find them. Good luck!
Some other resources
The Tutorials section in the Monastery
One of my favorites, the mod_perl guide. This isn't just about mod_perl though, you can pick up all sorts of goodies from this guide. Everything from usage of various modules, to which styles of coding are the most efficient with memory/speed, to web programming techniques.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||