|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Regex and splittingby Kenosis (Deacon) |
| on Apr 29, 2012 at 05:45 UTC ( #967900=note: print w/ replies, xml ) | Need Help?? |
|
Although this solution doesn't use split, you can capture the ip between the colon and comma with just a regex--given your file's contents:
I know this doesn't specifically address your "Is there something missing with my code?" question, as the prior comments effectively have, but it may be interesting information to you. Hope this helps!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||