in reply to Re: about split
in thread about split
"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
|
|---|