Geoffrey Young wrote:

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


you don't really mean to remove all the empty lines from the code, do you? <pre> preserves empty lines (at least in modern browsers - that's how I've been formatting my perl.com stuff and it works just fine). and I don't see the difference between what I put in and the Apache::MyParameters stuff you had earlier in the doc.

Look at: http://perl.apache.org/docs/2.0/user/config/custom.html#C_cmd_data_ you will see what I mean (the | line on the left of the box is discontinued.)

I didn't say to remove empty lines, but to do: s|^| |' (that's two leading spaces).

+ sub Location {
+ + my ($cfg, $parms, $data) = @_;
+

second avoid long lines, above you had 100 space chars.


chalk that up to editor woes (I'm on a new box and still trying to tweak my vi settings :)

;)

Do you want me to fix that?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to