In the shared hosting environment I am used to, '.' is included in @INC. Without recompiling Perl - which I am not going to attempt! - or including use lib '.';, what is the best way to use modules I have created in a way that works from both CLI and cron?
Are you suggestion I use an absolute path in the use statement?
Update...
I've just realised you meant to use an absolute path in use lib '/path/to/modules/';
I'm obviously having a senior moment today!
In reply to Re^7: Continuous or timed?
by Bod
in thread Continuous or timed?
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |