On Fri, 23 Dec 2011, Ernesto Hernández-Novich wrote:
> On Fri, 2011-12-23 at 12:10 -0800, Don Armstrong wrote:
> > Why is anyone using URI::Encode instead of URI::Escape, which
> > handles all of this, is faster to boot, and is in core? If you
> > actually wanted its main feature, you'd just use:
> > 
> > use URI::Escape qw(uri_escape_utf8);
> > uri_escape_utf8($string,"^A-Za-z0-9\-\._~:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=");
> 
> I agree. I've packaged URI::Encode because it's a dependency for a
> larger module (Facebook::Graph). I've already opened a bug upstream
> suggesting that URI::Escape be used instead of URI::Encode.

Ah, cool. I'd suggest just patching Facebook::Graph to use
URI::Escape, and avoid having to package and maintain this module.


Don Armstrong

-- 
THERE IS NO GRAVITY THE WORLD SUCKS
 -- Vietnam War Penquin Lighter
http://gallery.donarmstrong.com/clippings/vietnam_there_is_no_gravity.jpg

http://www.donarmstrong.com              http://rzlab.ucr.edu



--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111223210353.gc21...@rzlab.ucr.edu

Reply via email to