fork download
  1. my $str = "(5) 3";
  2. my ($x, $y) = $str =~ /\d+/g;
  3. print "$x\t$y\n";
  4.  
Success #stdin #stdout 0s 4596KB
stdin
Standard input is empty
stdout
5	3