$report = (sort glob "$path/*B1006*")[-1]; [download]
chomp($report = `ls $path/*B1006* |tail -n 1`); [download]
In reply to Re^2: grab oldest file by hasimir44 in thread grab newest file by hasimir44