|
|
| Welcome to the Monastery | |
| PerlMonks |
(Adam: JoinMapSplit) RE: One for the regexp fansby Adam (Vicar) |
| on Aug 04, 2000 at 16:55 UTC ( [id://26229]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||||||