in reply to packages and Windows 7 Task Scehduler
use lib "C:\path\to\my\script";
likely won't do what you think it does. \t expands to a tab in double quotes.
I prefer to use forward slashes in path specifications:
use lib "C:/path/to/my/script";
Also, I like to launch my Perl programs through a .cmd script on Windows:
@rem Change the directory to where this .cmd lives: cd /d %~dp0 @rem Launch the script perl -w myscript.pl %*
That way, I have a defined working directory, which also makes relative paths work again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: packages and Windows 7 Task Scehduler
by Washizu (Scribe) on Jan 29, 2010 at 18:32 UTC |