That's shorthand for
my @ary = stat $path; $time = $ary[9];
since stat returns a list. A list can be subscripted.
In reply to Re: beginner question about stat fucntion
by shmem
in thread beginner question about stat fucntion
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |