I am using Perl v5.8.4 on an Intel based machine with Solaris 10 64bit operating system.
The capitalized POSIX was accepted but I am receiving other errors now.
Input: perl -MPOSIX -E 'say POSIX::strftime("%m%d%H%M", localtime(1388679108))'
Output:
Unrecognized switch: -E (-h will show valid options).
Input:perl -MPOSIX -e 'say POSIX::strftime("%m%d%H%M", localtime(1388679108))'
Output:
Bareword found where operator expected at -e line 1, near "say POSIX::strftime"
(Do you need to prodeclare say?)
Execution of -e aborted due to compilation errors.
|