Help for this page

Select Code to Download


  1. or download this
    # note: $datalist now, it's a reference
    $datalist = GetLogFilesAndDatesIntoArray($logdirectory);
    ExtractData($datalist); # passes the reference into the sub
    
  2. or download this
    my $_filesanddates = shift;
    @filesanddates = @$_filesanddates; # dereferences the reference