NAME
Database::BI::Util - Shared utility functions for Database::BI modules
SYNOPSIS
use Database::BI::Util qw(urlencode);
my $safe = urlencode($query_param_value);
FUNCTIONS
urlencode
my $encoded = urlencode($str);
Percent-encodes a string for use as a URI query-parameter value. Preserves the RFC 3986 unreserved characters (A-Z a-z 0-9 - . _ ~) and replaces all other bytes with %XX uppercase hex escapes.
AUTHOR
Nigel Horne
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.