![]() |
|
Think about Loose Coupling | |
PerlMonks |
(Adam: JoinMapSplit) RE: One for the regexp fansby Adam (Vicar) |
on Aug 04, 2000 at 20:55 UTC ( #26229=note: print w/replies, xml ) | Need Help?? |
The nice thing about perl is that it allows you to code in a manner that simulates speech. You said something like, "I want to split up the address at the dots, prefix zeros to single digit hex values, and join it all together to make a value." Which, incidentally, is exactly what the above one-liner does.
In Section
Seekers of Perl Wisdom
|
|