Help for this page
# note: $datalist now, it's a reference $datalist = GetLogFilesAndDatesIntoArray($logdirectory); ExtractData($datalist); # passes the reference into the sub
my $_filesanddates = shift; @filesanddates = @$_filesanddates; # dereferences the reference