in reply to REQUEST EXPIRED

Again, as always, compare what the working example does, and compare that with what your code does:

date +%s

This outputs on my machine:

1727198961

The Perl equivalent is:

perl -wE "say time"

... which outputs:

1727199064

So, change your method of formatting the timestamp to:

my $timestamp = time();

Replies are listed 'Best First'.
Re^2: REQUEST EXPIRED
by frank1 (Monk) on Sep 24, 2024 at 18:29 UTC

    Thanks it worked!

    But i need to read more about blank brackets what it does

    because i tried my $timestamp = time; and never works

    but with blank bracket am surprised that it worked

        because i tried my $timestamp = time; and never works

      It should

      perl -wE '$x=time; $y=time(); say $x; say $y'; date +%s 1727210259 1727210259 1727210259