Do you know where your variables are? | |
PerlMonks |
Re: Pattern Match n00bby jeroenes (Priest) |
on Mar 14, 2008 at 21:27 UTC ( [id://674299]=note: print w/replies, xml ) | Need Help?? |
You could go splitting instead. Nested splits on ; and : could work. Or you could do it all in one statement with SuperSplit: $array=supersplit(':',';',$mystring); provided that the (semi)colons are true delimiters.
Cheers, Couldn't resist the temptation after all those years ;-)
In Section
Seekers of Perl Wisdom
|
|