In Perl there are a number of ways you could accomplish this task.
- You could use substr, since every element you have listed has the same number of characters before the '=' sign.
- You could use split, splitting on the '=' and keeping only the second half.
my $value = (split /\=/, $string)[1];
- You could use a capturing regular expression to store all characters after the equals sign.
my ($value) = $string =~/\=(.*)$/;
- You could use a regular expression to substitute the leading characters away.
$string =~ s/^[^=]*\=//;
I'm sure people can come up with a host of other approaches, but this should give you some ideas.
Update: Fixed typos in #4. Thanks ikegami.