my $data = 'variable1=wert1&variable=wert2&variable3=wert3'; my %values =  split(/[=&]/, $data);