There's more than one way to do things | |
PerlMonks |
Re: Splitting every 3 digits?by hopes (Friar) |
on Sep 29, 2001 at 04:27 UTC ( [id://115551]=note: print w/replies, xml ) | Need Help?? |
You can use 'g' modifier to the regexp, and then it could returns an array
Hope this helps Hopes Update Yes, I didn't notice it. My first script returns empty values too because of the split. If you want to use split, you can try: but is better without split Regards
In Section
Seekers of Perl Wisdom
|
|