I agree linking files to a static tree makes life easy. Just a few more additions though. Linking tends to get messy if the trees are very fluid (you tend to restructure the source or destination trees often). Try to stabilize the drop part of the links.
Linking also allows for transparent version control for scripts. Take this example:
/data/home/user/scripts/ make_dbm_history has the link pointing back to /data/home/user/lib/perl/make_dbm_history-2002-02-10-01. If you update the make_dbm_history script in lib/perl you just relink the user/scripts link to the new revision. That way the revision information is scoped out of the everyday use of the script – you never have to change any scripts of settings that point to /data/home/user/scripts/make_dbm_history.
One more thing that has worked for me in the past is to also have a central config file that stores a lot of static info (user home dir, logging dir, temp working basedir etc) and load those with the storable mod. This way you just need to change one file if the tree changes drastically.
-Waswas
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.