in reply to Re^4: Bugfixing Old Codein thread Bugfixing Old Code
my @temp_and_starts = /\S+/g; [download]
# Split on multiple spaces using regex captured matches my @temp_and_starts = $_ =~ /[^\s +]+/g; my @last_AT_fracs = <$in> =~ /[^\s +]+/g; my @twenty_SFs = (<$in> . <$in> . <$in> . <$in>) =~ /[^\s +]+/g; [download]
$ perl -E '$_="This and that and other";@x= $_=~ /[^\s]+/g;; say for +@x' This and that and other [download]
"The difficult we do today; the impossible takes a little longer."