| CPAN Ratings Data-SearchReplace reviews | |
| Home | Search | About | Bitcard Account | Login |
RSS | Module Info | Add a review of Data-SearchReplace
Useful for template generation and manipluation. I needed to change the output of my data to encode all the URLs. The problem was that the URLs were in a complex data variable so I used the command:
sr({REGEX=>s/([^a-zA-Z0-9.-])/uc sprintf("%%%02x",ord($1))/eg},$data);
and I was good to go...
(I'm not only a user, I'm the author too)
Steve - 2003-10-03T19:41:35
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|