rovf has asked for the wisdom of the Perl Monks concerning the following question:
The above code prints 10 10 when run on Solaris, but 10 when run on Windows (ActiveState Perl). %e is not recognized on Windows. Any idea why?use warnings; use POSIX qw(strftime); print strftime("%d %e",localtime(time));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: strftime Windows/Solaris compatibility question
by andreas1234567 (Vicar) on Sep 10, 2008 at 13:57 UTC | |
by rovf (Priest) on Sep 11, 2008 at 08:36 UTC | |
|
Re: strftime Windows/Solaris compatibility question
by derby (Abbot) on Sep 10, 2008 at 13:45 UTC | |
|
Re: strftime Windows/Solaris compatibility question
by broomduster (Priest) on Sep 10, 2008 at 13:48 UTC | |
|
Re: strftime Windows/Solaris compatibility question
by syphilis (Archbishop) on Sep 10, 2008 at 13:55 UTC | |
by dHarry (Abbot) on Sep 10, 2008 at 14:03 UTC | |
by Anonymous Monk on Sep 11, 2008 at 08:00 UTC | |
|
Re: strftime Windows/Solaris compatibility question
by dHarry (Abbot) on Sep 10, 2008 at 13:58 UTC |