geoff@apache.org wrote:
> geoff 2003/07/31 08:01:56
>
> Modified: src/docs/2.0/user/config custom.pod
> Log:
> add cmd_data and $parms->info docs
> Submitted by: geoff
>
> Revision Changes Path
> 1.6 +50 -0 modperl-docs/src/docs/2.0/user/config/custom.pod
>
> Index: custom.pod
Thanks, Geoff!
There are two minor problems with the code section formatting. Remember that
code sections are rendered as <pre></pre>.
> + use Apache::CmdParms ();
> +
^^
So, we need to avoid empty lines in the code ( I always take the original code
and run it through 'perl -pi -e 's|^| |' file') so the code section is
rendered as a single box.
> + ...
> +
> + sub Location {
> +
> + my ($cfg, $parms, $data) = @_;
> +
second avoid long lines, above you had 100 space chars. trying to keep it
under 74-80 is a good idea. and there is no need for 100 spaces, when 2 will do ;)
Thanks.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
> geoff 2003/07/31 08:01:56
>
> Modified: src/docs/2.0/user/config custom.pod
> Log:
> add cmd_data and $parms->info docs
> Submitted by: geoff
>
> Revision Changes Path
> 1.6 +50 -0 modperl-docs/src/docs/2.0/user/config/custom.pod
>
> Index: custom.pod
Thanks, Geoff!
There are two minor problems with the code section formatting. Remember that
code sections are rendered as <pre></pre>.
> + use Apache::CmdParms ();
> +
^^
So, we need to avoid empty lines in the code ( I always take the original code
and run it through 'perl -pi -e 's|^| |' file') so the code section is
rendered as a single box.
> + ...
> +
> + sub Location {
> +
> + my ($cfg, $parms, $data) = @_;
> +
second avoid long lines, above you had 100 space chars. trying to keep it
under 74-80 is a good idea. and there is no need for 100 spaces, when 2 will do ;)
Thanks.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org