I think what you need is split
my @lines = split(/\n/, $datastring); foreach my $line (@lines) { my ($key, $val) = split(/=/, $line); }
my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';
In reply to Re: Parsing multiple values in a singe line
by thabenksta
in thread Parsing multiple values in a singe line
by rvf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |