|
|
| Think about Loose Coupling | |
| PerlMonks |
Separating array contentsby MynameisAchint (Novice) |
| on Jun 07, 2013 at 07:44 UTC ( [id://1037610]=perlquestion: print w/replies, xml ) | Need Help?? |
|
MynameisAchint has asked for the wisdom of the Perl Monks concerning the following question:
hi all
I have a array consisting of words occupying each cell and in that array I also have ! at certain places occupying a cell individually . so i want that from one ! to other ! entire thing should go to a new array cell say for instance " ! my name ! is !Achint ! I need ! help I have an array where '!' is in zero cell 'my' is in one cell , 'name' is in second '!' in third "is " in forth '!' in fifth , so now i want from one '!' to other '!' i.e "my name" should go in one array cell , "is" into other . so how can i do it , because split will not work
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||