Toru Yamaguchi > URI-chrome > URI::chrome

Download:
URI-chrome-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

URI::chrome - Mozilla chrome uri

VERSION ^

version 0.01

SYNOPSIS ^

  use URI;
  use URI::chrome;

  my $uri = URI->new("chrome://communicator/content/bookmarks/bookmarksManager.xul");
  local $\ = "\n";

  print $uri->package_name; # communicator
  print $uri->part; # content/bookmarks
  print $uri->file_name; # bookmarksManager.xul

DESCRIPTION ^

The Chrome URL Specification

The basic syntax of a chrome URI is as follows,

  chrome://<package_name>/<part>/<file_name>

The elements of chrome URI detail is as follows,

package_name

The "package_name" is the package name. For example, "browser", "messenger" or "communicator".

part

The "part" is simillar to path of http URI. It's string is beggining of "content", "skin" or "locale". For example, "content", "content/bookmarks".

file_name

The "file_name" is the file name.

More detail, please see http://developer.mozilla.org/en/docs/XUL_Tutorial:The_Chrome_URL

METHODS ^

package_name([$package_name])

Getter/Setter of package_name

part([$part])

Getter/Setter of part

file_name([$file_name])

Getter/Setter of file_name

SEE ALSO ^

URI
http://developer.mozilla.org/en/docs/XUL_Tutorial:The_Chrome_URL

AUTHOR ^

Toru Yamaguchi, <zigorou@cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-uri-chrome@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE ^

Copyright 2007 Toru Yamaguchi, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: