Hot Pastrami has asked for the wisdom of the Perl Monks concerning the following question:
...and I need to break it down as such:$string = qq|Are "Perl Monks" required to swear an "Oath of Celibacy?" +|;
It basically needs to be split on spaces, but keep quoted strings together. I'm sure there is an alarmingly simple solution which my unspeakable ignorance has caused me to overlook, and perhaps one of you could point it out in some embarrassing way. You'll have my gratitude, as always.[0] Are [1] Perl Monks [2] required [3] to [4] swear [5] an [6] Oath of Celibacy?
|
|---|