Skip to content

Instantly share code, notes, and snippets.

@scottoffen
Created July 10, 2014 23:59
Show Gist options
  • Save scottoffen/ee87396bd726646c73b9 to your computer and use it in GitHub Desktop.
Save scottoffen/ee87396bd726646c73b9 to your computer and use it in GitHub Desktop.
Perl References
#----------------------------------#
# localtime() array reference #
#----------------------------------#
# 0 - seconds #
# 1 - minutes #
# 2 - hours #
# 3 - day of month #
# 4 - month #
# 5 - year #
# 6 - day of week #
# 7 - day of year #
# 8 - is Daylight Savings Time #
#----------------------------------#
#---------------------------------------#
# Regular Expression Special Characters #
#---------------------------------------#
# left bracket [ #
# right bracket ] #
# left parenthese ( #
# right parenthese ) #
# star, astrisk * #
# period, dot . #
# carrot ^ #
# dash, minus - #
# plus + #
# bar, pipe | #
# forward slash \ #
# question mark ? #
#---------------------------------------#
#---------------------------------------------------------------#
# stat() array reference #
#---------------------------------------------------------------#
# 0 dev device number of filesystem #
# 1 ino inode number #
# 2 mode file mode (type and permissions) #
# 3 nlink number of (hard) links to the file #
# 4 uid numeric user ID of file's owner #
# 5 gid numeric group ID of file's owner #
# 6 rdev the device identifier (special files only) #
# 7 size total size of file, in bytes #
# 8 atime last access time in seconds since the epoch #
# 9 mtime last modify time in seconds since the epoch #
# 10 ctime inode change time in seconds since the epoch (*) #
# 11 blksize preferred block size for file system I/O #
# 12 blocks actual number of blocks allocated #
#---------------------------------------------------------------#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment