Re: = at Start of Line ... solution is simple

2007-06-16 Thread Larry Wall
On Sat, Jun 16, 2007 at 02:22:55PM -0700, Dave Whipp wrote: : My problems with these tools would be reduced if the POD identification : rule was changed from /^=/ to /^=\w/. I.e. whitespace after the initial : "=" marks it as non-pod. S26 says that ^^ '=' \s is for continuing a previous directiv

Re: = at Start of Line ... solution is simple

2007-06-16 Thread Dave Whipp
Darren Duncan wrote: Given this, there is an obvious (to me) solution for pod blocks in the middle of expressions like: my $foo = $bar; As the example shows, and I believe best practices espouse, you *indent* the code line with a leading =. I'd agree that indentation is good for reada

Re: = at Start of Line ... solution is simple

2007-06-16 Thread Darren Duncan
Without replying to anyone in particular, I'll say ... I agree with the camp that says an = at the start of a line is pod, without exception, regardless of context. I am also assuming that "start of the line" means there is no whitespace to the left of the =. I also recognize and agree with