in reply to Re^3: Robocopy log parsing
in thread Robocopy log parsing

No, assignment operator is =, =~ is a pattern match operator. See perlop.