in reply to $tm = localtime;
Perl is Perl (for the most part) - they should work fine on Windows and Unix with no changes. That said, I'm not familiar with the modules Date::Pcalc or Date::EzDate, if they use XS with specific Windows API calls there may be issues on Unix.
Have you tried running the commands as-is on Unix? What errors (if any) did you get?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $tm = localtime;
by bNathan (Novice) on Feb 20, 2017 at 21:09 UTC | |
by hippo (Archbishop) on Feb 21, 2017 at 08:17 UTC | |
by Cristoforo (Curate) on Feb 21, 2017 at 03:18 UTC |