/[suikacvs]/messaging/manakai/lib/Message/Field/Structured.pm
Suika

Diff of /messaging/manakai/lib/Message/Field/Structured.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by wakaba, Tue Mar 26 05:31:55 2002 UTC revision 1.4 by wakaba, Sun Mar 31 13:11:55 2002 UTC
# Line 91  sub as_plain_string ($) { Line 91  sub as_plain_string ($) {
91    my $self = shift;    my $self = shift;
92    $self->unquote_quoted_string ($self->unquote_comment ($self->{field_body}));    $self->unquote_quoted_string ($self->unquote_comment ($self->{field_body}));
93  }  }
94    =head2 $self->option ($option_name, [$option_value])
95    
96    Set/gets new value of the option.
97    
98    =cut
99    
100    sub option ($$;$) {
101      my $self = shift;
102      my ($name, $value) = @_;
103      if (defined $value) {
104        $self->{option}->{$name} = $value;
105      }
106      $self->{option}->{$name};
107    }
108    
109  ## Decode C<qcontent> (content of C<quoted-string>).  ## Decode C<qcontent> (content of C<quoted-string>).
110  sub _decode_qcontent ($$) {  sub _decode_qcontent ($$) {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24