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.


( 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.

I'll remember that.


+ ...
+
+ 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 :)


trying to keep it under 74-80 is a good idea. and there is no need for 100 spaces, when 2 will do ;)

indeed :)

--Geoff


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



Reply via email to