I've got a suite of modules located in ~/perl5/my_modules which I have in my @INC array. I want to give my modules access to scripts that probably will only be used by my Perl modules. For example, I have an applescript that exports my contacts to a vcf file. So I want to put this script in a central directory where it can be found: ~/perl5/my_modules/bin and run with a system command. I have a MyFindBin module which I use to generate the location of this bin directory using a $MyBin variable that it exports in case the path changes.
What do others think of this approach? Is there a better, more perlish way?
$PM = "Perl Monk's";
$MC = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar Parson";
$nysus = $PM . ' ' . $MC;
Click here if you love Perl Monks
In reply to Looking for suggestions for accessing/running scripts needed by a local Perl library by nysus
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |