[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [p5p] pod bugs



>What if you were to write

>      $/ = '';		# RTFM for what this means
>      while (<>) {	
>	for (split /^\s*$/m) {
>  	  if (/^=/) { .... }
>  	  ....
>	}
>      } 

>Or some such, instead?  It seems to me that this is not outside the
>boundary of `reasonable logic supported by Perl built-ins'.

Oh, perhaps.

I think what we're getting down to is that $/ = '' is a problem.
Nobody ever understands what it really means, and constantly 
tries to rehack programs that use it.

--tom


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]