Hi all,
Thanks for maintaining CGI::Application.
I'll release yet another CGI::Application plugin,
CGI::Application::Plugin::Header, on CPAN soon.
This plugin adds the header() method to your CGI app which helps you handle
CGI.pm-comptible HTTP header properties.
Since header() is compatible
Hi Ryo
Why on earth do you use a '-' prefix on parameters?
That is user-hostile code, like the '--' required on the command line
for (some) apps.
Yes, I know that many, many years ago '--' was used to distinguish
between command line parsers, where the original used '-', but that's a
red
On 03/25/2013 05:04 PM, Ron Savage wrote:
Hi Ryo
Why on earth do you use a '-' prefix on parameters?
While I wouldn't use the - prefix in documentation or otherwise
promote it, I could see silently or quietly *supporting* it, if one one
of your objectives is to be CGI.pm-compatible.
He
Hi Mark
But supporting it adds complexity for no gain :-(.
--
Ron Savage
http://savage.net.au/
Ph: 0421 920 622
# CGI::Application community mailing list
####
## To unsubscribe, or change your message delivery
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;
Thanks for your reply.
Yes, that's one of my goals.
Mark Stosberg wrote:
He stated that one of his goals is CGI.pm-comptible HTTP header
properties.
Thanks for your suggestion :)
Best regards,
Ryo
--
View this message in context: