in reply to can split() use a regex?
If you really wanted to split on '\d+\s+' you'd need to single quote the regex, ie:
my ($one, $two) = split('\d+\s+', $line);
In Section
Seekers of Perl Wisdom
in reply to can split() use a regex?
my ($one, $two) = split('\d+\s+', $line);