| CPAN Ratings (Gamma) Data-SearchReplace reviews | |
| Home | Search | About | 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-03 19:41:35
Was this review helpful to you?
Yes
No
|
|
|