in reply to 'Use Strict' conflicts with Time::Local module
or you could usemy ($t) = @_;
If you add the codemy $t = shift;
below your original $t assignment in your function, it returns the value 1.print "t = $t\n";
ismy $t = @_;
Instead of a time, you're getting the total number of elements in the array @_.my $t = scalar @_;
|
|---|