should be....my %hostlist = map { /^(\w+)\s(.*)/; $1 => $2 } (<DATA>);
(extra + after the whitespace metachar)my %hostlist = map { /^(\w+)\s+(.*)/; $1 => $2 } (<DATA>);
In reply to Re: Re: newbie hasher
by davis
in thread newbie hasher
by prodevel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |