NAME
URI::pack - Support of the pack scheme in URI.
VERSION
This documnetation refers to URI::pack version 0.002
SYNOPSIS
use URI;
# New absolute pack URI
my $pack_uri = URI->new('pack://application,,,/ResourceFile.xaml');
# New relative pack URI
my $rel_pack_uri = URI->new('/images/logo.png', 'pack');
DESCRIPTION
Currently the main module, URI::pack has not been completed and there is no documentation.
ATTRIBUTES
This object provides multiple attributes. Calling the attribute as a method with no arguments will return the value of the attribute. Calling the attribute with one argument will set the value of the attribute to be that value and returns the old value.
# Get the value of an attribute
my $package = $uri->package_uri;
# Set the value of an attribute
my $old_package = $uri->package_uri($package);
package_uri
This is the URI of the package.
part_name
This is the part name in the pack URI. If there is no part name, then undef is returned.
part_name_segments
This is an array of the segments in the part name. A part name of /hello/world/doc.xml
has three segments: hello
, world
, doc.xml
.
METHODS
clear_package_uri
This will clear the "package_uri" attribute.
clear_part_name
This will clear the "part_name" attribute.
has_package_uri
This will return a Boolean of the presence of a "package_uri" in the pack URI.
has_part_name
This will return a Boolean of the presence of a "part_name" in the pack URI.
DEPENDENCIES
SEE ALSO
URI the the base class, so you may want to look at the methods that are provided.
AUTHOR
Douglas Christopher Wilson, <doug at somethingdoug.com>
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-uri-pack at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=URI-pack. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
I highly encourage the submission of bugs and enhancements to my modules.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc URI::pack
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2009 Douglas Christopher Wilson.
This program is free software; you can redistribute it and/or modify it under the terms of either:
the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
the Artistic License version 2.0.