Your skill will accomplish what the force of many cannot |
|
PerlMonks |
PHPS -> perl equivalent?by simeon2000 (Monk) |
on Jul 25, 2002 at 13:48 UTC ( [id://185193]=perlquestion: print w/replies, xml ) | Need Help?? |
simeon2000 has asked for the wisdom of the Perl Monks concerning the following question:
One of the neat features of the OTHER language that is good at handling the CGI environment (PHP), there is a feature where if you set up apache right, and set a file with a .phps extension, it will show the source code with syntax highlighting through html.
Is there anything like this for our beloved perl? If, let's say, I want to showcase some code, is there a code beautifier (or just syntax highlighting really) script for example? Something like: cat src_script.pl | perl pretty_code.pl > src_script.pls Surely this has been done... for what better language to parse perl than... perl? :E "Falling in love with map, one block at a time." - simeon2000
Back to
Seekers of Perl Wisdom
|
|