in reply to getting file info?
Compare these examples:
my $mode = (stat($file))[2]; [download]
and
use File::stat; my $mode = stat($file)->mode; [download]
Second variant IMHO is much more readable.