|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
use the cut function in a scriptby raghu_shekar (Novice) |
| on May 21, 2009 at 04:46 UTC ( #765377=perlquestion: print w/ replies, xml ) | Need Help?? |
|
raghu_shekar has asked for the
wisdom of the Perl Monks concerning the following question:
Hi,
i have an array whose contents are like this "<NumData>1234567890</NumData>" . what i need is just the numeric value without the start and end tags. Is there any cut function in perl which will help me achieve this... It would be great if i could do this to all the elments of the array at one go. What i am trying is to pull each element from the array and perform the cut function to pull just the numeric data and put it into another array.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||