/[suikacvs]/messaging/manakai/lib/Message/URL.pm
Suika

Contents of /messaging/manakai/lib/Message/URL.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Dec 6 10:01:37 2008 UTC (15 years, 11 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
++ manakai/lib/Message/ChangeLog	6 Dec 2008 10:01:15 -0000
2008-12-06  Wakaba  <wakaba@suika.fam.cx>

	* URL.pm: New module.

1 wakaba 1.1 package Message::URL;
2     use strict;
3     use warnings;
4    
5     require Message::URI::URIReference;
6    
7     sub new ($$) {
8     shift;
9     return Message::DOM::DOMImplementation->create_uri_reference ($_[0]);
10     } # new
11    
12     sub new_abs ($$$) {
13     shift;
14     return Message::DOM::DOMImplementation->create_uri_reference ($_[0])
15     ->get_absolute_reference ($_[1]);
16     } # new_abs
17    
18     1;

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24