http://www.perlmonks.org?node_id=1001913


in reply to Reading Files

Hi, add \s+ to your regex to split on a space
perl -MData::Dumper -e 'print Dumper split /\s+/, shift' "do cat fr"