Hi

On 26/03/13 14:31, Ryo Anazawa wrote:
>
> Thanks for your reply.
>
> I wouldn't use a '-' prefix, too, and so I'll remove the prefix from
> SYNOPSIS.

Excellent!

> I agree we shouldn't promote it. SYNOPSIS should be as follows:

Excellent!

>      sub do_something {
>          my $self = shift;
>
>          my $type = $self->header('type'); # getter
>
>            # setter
>          $self->header(
>              charset =>   'utf-8',
>              type =>   'text/plain,
>          );
>      }
>
> However, CGI.pm' header() method requires the prefix in some cases:

Yes, that's where the problem starts.

-- 
Ron Savage
http://savage.net.au/
Ph: 0421 920 622

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to