my $timestamp = $self->cgi_param("timestamp"); if ( -f $file && $timestamp != (stat($file))[9] || 0 ) { ...