| URI-pack documentation | view source | Contained in the URI-pack distribution. |
URI::pack - Support of the pack scheme in URI.
This documnetation refers to URI::pack version 0.002
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');
Currently the main module, URI::pack has not been completed and there is no documentation.
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);
This is the URI of the package.
This is the part name in the pack URI. If there is no part name, then undef is returned.
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.
This will clear the package_uri attribute.
This will clear the part_name attribute.
This will return a Boolean of the presence of a package_uri in the pack URI.
This will return a Boolean of the presence of a part_name in the pack URI.
Douglas Christopher Wilson, <doug at somethingdoug.com>
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.
You can find documentation for this module with the perldoc command.
perldoc URI::pack
You can also look for information at:
Copyright 2009 Douglas Christopher Wilson.
This program is free software; you can redistribute it and/or modify it under the terms of either:
| URI-pack documentation | view source | Contained in the URI-pack distribution. |