URI::PathAbstract

A URI-like object with Path::Abstract capabilities
Download

URI::PathAbstract Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Robert Krimen
  • Publisher web site:
  • http://search.cpan.org/~rkrimen/

URI::PathAbstract Tags


URI::PathAbstract Description

A URI-like object with Path::Abstract capabilities The URI::PathAbstract module is a combination of the URI::WithBase and Path::Abstract classes. It is essentially a URI class that delegates path-handling methods to Path::AbstractUnfortunately, this is not true: URI::PathAbstract->new( http://example.com )->isa( URI )URI::PathAbstract supports the URI generic and common methodsSYNOPSIS my $uri = URI::PathAbstract->new("http://example.com?a=b") $uri->down("apple") # http://example.com/apple?a=b $uri->query("c=d&e=f") # http://example.com/apple?c=d&e=f $uri->path("grape/blueberry/pineapple") # http://example.com/grape/blueberry/pineapple?c=d&e=f $uri = $uri->parent # http://example.com/grape/blueberry?c=d&e=f $uri = $uri->child("xyzzy") # http://example.com/grape/blueberry/xyzzy?c=d&e=f Requirements: · Perl


URI::PathAbstract Related Software