Also die Regex funktioniert:
chef@lx ~ $ echo "Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/8 ms" | perl -ne '($a, $b, $c) = m:Success rate is (\d+) percent .*? \d+/(\d+)/(\d+) ms:; print "\$a=$a, \$b=$b, \$c=$c\n";'
$a=100, $b=7, $c=8
Du müsstest für Dein Problem folgendes tun:
($a, $b, $c) = ($ergebnis =~ m:Success rate is (\d+) percent .*? \d+/(\d+)/(\d+) ms:);
Die Werte liegen dann in den drei Skalaren vor. Mir ist jetzt leider nicht ganz klar, weshalb Du das jeweils getrennt haben willst, aber auch das ist möglich:
($a) = m;Success rate is (\d+) percent;
($b, $c) = m;\d+/(\d+)/(\d+) ms;