Hi everyone,
I am writing a script in Perl, and need to scan a log file for the most recent values of two particular fields. Right now I am reading the log file into an array and scanning the array backwards (to find the latest entries). The two values I need saved as variables are
processed='destination(df_suu=1234567' and
processed='destination(d_mysql_suu=1234567'
I just need the numerical values contained in those fields. Those fields are not next to each other and they repeat several times since it's a log file. What would be the best way to go about picking these numbers out? Thanks in advance.