in reply to Issues with Split
for my $pair ( split /\s+/, $restofstring ) { my ($key, $val) = split /=/, $pair; $hash{$type}{$key} = $val; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Issues with Split
by cipher (Acolyte) on Jun 14, 2016 at 11:25 UTC |