http://qs1969.pair.com?node_id=579985

jeanluca has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

When I develop software I normally develop it on my Linux workstation and when its finished I copy it to an operational unix system. The following code demonstrates my problem:
#! /usr/local/bin/perl -lw use strict ; use POSIX 'strftime' ; $ENV{TZ} = 'GMT' ; my $t = time() ; print strftime("%s", localtime(int $t)) ;
On my Linux machine this works fine (perl v5.8.8), it prints epoch seconds, however, on the unix machine (perl v5.8.7) it prints: %s

I get the impression that %s is somehow not supported (man strftime).
I've actually no idea how to solve this, so all suggestions would be very welcome!!

Thanks in advance
LuCa