"split" is the same as "split /\s+/".
Not quite the same:
no warnings 'uninitialized'; $_ = ' a string with leading whitespace'; print join( ':', split ), "\n"; print join( ':', split /\s+/ ), "\n"; ______ a:string:with:leading:whitespace :a:string:with:leading:whitespace
In reply to Re^2: about split
by Not_a_Number
in thread about split
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |