The biggest reason I do this, at times, is in a cgi environment. I put all my logic in modules that are outside of the cgi directory. One day, if someone screws up the mime type for .pl or .cgi or whatever I am using, the worst you get are where my modules are stored and the names of them.. plus a function inside.
Hopefully, my webserver is setup correctly to never allow access to those directories. I can put in the extra precaution in my httpd.conf (apache) to disallow access to taht directory.. just in case someone breaks mime types. Won't work in a jail environment, unless I put them in my cgi directory AND put the disallow.
Anyway, maybe it's just being paranoid or a security nut. :)
----
Then B.I. said, "Hov' remind yourself
nobody built like you, you designed yourself"
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:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.