On Wed, Sep 20, 2006 at 16:55 +0100, Dave Mitchell wrote:
[...]
> Most of my problems revolved around the fact that in this case, foo itself
> needs to include the z character, so the rest of the code is really about
> escaping the z's (and escaping the escapes), by doing s/v/z/ three times
> (but as s/V/chr 122/ie since the code can't include the z or v), then
> doing the actual s/x/$_/ (as s/x/ucfirst/e), then doing a further s/// to
> undo some damage done by the earlier s///'s
Actually there is no reason thtat the code can't include any v, as far
as I can see. Nonetheless its still a little bit away from an
all-lowercase version. (for fun it now only uses one type of digit ;-)
s oos vvlv
and s svsv111se
and s evev111ee
and s cvcv111ce
and s wlwlcfirstwe
and s wOOlOwvvlvwi
and print
o
and s svsv111se
and s evev111ee
and s cvcv111ce
and s wlwlcfirstwe
and s wOOlOwvvlvwi
and print
CU,
Sec
--
Allright, I stand corrected. In the past, bizarre error numbers
like these were symptomatic for Reiserfs installations. Now we know
that other software has the same privilege. -- Wietse