in reply to Logfile parsing (Moved from Q&A)
my @ids; while (<LOG>) { if (/id\+(\d+)/) { push @ids, $1; } } [download]