Apache::Sling::URL - Functions for handling urls to be passed from/to an Apache Sling instance.
useful utility functions for manipulating URLs.
Function to add a leading slash to a string if one does not exist.
Function to remove any leading slashes from a string.
Function to convert an array of a property values to a suitable string representation.
Function to encode a string so it is suitable for use in urls.
Sanitizes input url by removing trailing slashes and adding a protocol if missing.
use Apache::Sling::URL;
Utility library providing useful URL functions for general Rest functionality.
None required.
n/a
0 on success.
None known.
Daniel David Parry <perl@ddp.me.uk>
LICENSE: http://dev.perl.org/licenses/artistic.html
COPYRIGHT: (c) 2011 Daniel David Parry <perl@ddp.me.uk>
To install Apache::Sling, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Sling
CPAN shell
perl -MCPAN -e shell install Apache::Sling
For more information on module installation, please visit the detailed CPAN module installation guide.