How about a module (docs, Dean::Util) that removes dependency on itself from other modules. For example:
# In some script/module use Dean::Util qw/map_pair nsign min_max/; # other code ...
Then later to send the script to other machines:
perl -MDean::Util -we insert_Dean_Util_functions the_script.pl
This replaces the use Dean::Util line with the code for the subs requested (and optionally documentation).
Good Day,
Dean
In reply to Re: Private Utilities
by duelafn
in thread Private Utilities
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |