On Thu, 15 Nov 2001, Hans Hagen wrote:

> At 04:24 PM 11/14/2001 -0400, George N. White III wrote
>
> >The misplaced "0" appears in the line which strips any existing entries
> >for the current font ($thename) from $mapdata:
> >
> >        { $mapdata =~ s/^$thename\s.*?$//gmois ;
>
> ah, that's a stupid error, thanks for locating it. About the 'o' key, does
> it also optimized the replacement text, i.e., should i also change:
>
>   s/(--en.*\=)\?/$1$encoding/io ;

I wouldn't call it a stupid error -- it is all too easy to type that
'o' when writing perl code if you have a bunch of expressions where
the pattern doesn't change.

I think the 'o' flag only applies to the search pattern, but to be
sure I'd have to use the sources.

-- 
George N. White III <[EMAIL PROTECTED]> Bedford Institute of Oceanography


Reply via email to