Re: [PATCH] Add script for importing bits-and-pieces to Git.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/8/23 Peter Krefting <peter@xxxxxxxxxxxxxxxx>:
> +       my (undef, undef, undef, undef, undef, undef,
> +               undef, $size, undef, $time, undef, undef, undef) = stat FILE;

Minor nit.  Better written as:

my ($size, $mtime) = (stat(FILE))[7,9];

-- Thomas Adam
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]