blob: 8a598a867e062d97b33a5f35322e0aa13a349637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
package YAML::Tag;
use strict;
use warnings;
our $VERSION = '0.71';
use overload '""' => sub { ${$_[0]} };
sub new {
my ($class, $self) = @_;
bless \$self, $class
}
sub short {
${$_[0]}
}
sub canonical {
${$_[0]}
}
1;
__END__
=head1 NAME
YAML::Tag - Tag URI object class for YAML
=head1 SYNOPSIS
use YAML::Tag;
=head1 DESCRIPTION
Used by YAML::Node.
=head1 AUTHOR
Ingy döt Net <ingy@cpan.org>
=head1 COPYRIGHT
Copyright (c) 2006. Ingy döt Net. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
See L<http://www.perl.com/perl/misc/Artistic.html>
=cut
|