in reply to
Why doesn't this s/regex// work?
Your regex says look for the first colon, then take anything and everything to the end of the string. Perhaps you need to use split or
[^:]*
instead of .*.
Phil
Comment on
Re: Why doesn't this s/regex// work?
Download
Code
In Section
Seekers of Perl Wisdom