in reply to Issues with Split

that would be :
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
    Thanks! it works. Appreciate your help.