super das funktioniert!!!
allerdings geht das nur wenn ich es direkt in die konsole eintippe...
wenn ich es in einem perl script habe, kommt folgende fehlermeldung:
~/stat> perl -w test.pl
"use" not allowed in expression at test.pl line 4, at end of line
syntax error at test.pl line 4, near "use Time"
Execution of test.pl aborted due to compilation errors.
~/stat>
So sieht meine Datei (test.pl) aus:
------------------------------------
!#/usr/bin/perl -w
use Time:Local;
print timelocal(0,0,0,27,01,2004);
------------------------------------
danke schonmal