1 package Org::Element::Link;
6 extends 'Org::Element';
8 our $VERSION = '0.23'; # VERSION
10 has link => (is => 'rw');
11 has description => (is => 'rw');
12 has from_radio_target => (is => 'rw');
16 return $self->_str if defined $self->_str;
19 "[", $self->link, "]",
20 (defined($self->description) && length($self->description) ?
21 ("[", $self->description, "]") : ()),
26 # ABSTRACT: Represent Org hyperlink
33 Org::Element::Link - Represent Org hyperlink
41 Derived from L<Org::Element>.
47 =head2 description => STR
49 =head2 from_radio_target => BOOL
53 =for Pod::Coverage as_string
57 Steven Haryanto <stevenharyanto@gmail.com>
59 =head1 COPYRIGHT AND LICENSE
61 This software is copyright (c) 2012 by Steven Haryanto.
63 This is free software; you can redistribute it and/or modify it under
64 the same terms as the Perl 5 programming language system itself.