in reply to regular expressions query
You need to include the things you're trying to capture, i.e. the (\S+)($thing1, $thing2) = ($1, $2) if /^\s{9}(\S+)\s{10}(\S+)/;
Now using split without any args is a special case that splits $_ on /\s+/($thing1, $thing2) = split;
|
|---|