my $value = (split /\=/, $string)[1];
my ($value) = $string =~/\=(.*)$/;
$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.
In reply to Re: I need just the value
by kennethk
in thread I need just the value
by newtoperl1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |