my @info = $line =~ /^suchmuster1 =(\d+)/; @info = $line =~ /^suchmuster2 (.+)/; @info = $line =~ /^suchmuster3 (Hallo)/i; @info = $line =~ /^suchmuster4 (Hello)/i;