in reply to using push
Apropos of nothing, you could do the whole loop as one statement:
push @serialOperations, grep { Host::get_cname($_) =~ /Workstation|Ana +logGateway/ } @syshosts; [download]