I was wondering what symbol/syntax to use that would represent any type of whitespace.
Basically i need to split each of the words in a string into seperate array elements. The only issue is that the words are seperated by an undefined amount of spaces or tabs.
@data = split (/ /, $_); # what should i use for the pattern match?
Basically i need to split each of the words in a string into seperate array elements. The only issue is that the words are seperated by an undefined amount of spaces or tabs.
@data = split (/ /, $_); # what should i use for the pattern match?