in reply to Re: Re: Daft Regexp
in thread Daft Regexp

What about what Cody Pendant carefully hinted at?
my $newname = ucfirst $entries[$i]; rename ($handle."\\".$entries[$i], $handle."\\".$newname);

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^3: Daft Regexp
by fourmi (Scribe) on Aug 06, 2003 at 13:09 UTC
    erm i had a look in the o'reily book, and didn't see a reference to ucfirst, and becuase i'm doing a couple of other substitutions too, prefered to find why my effort didn't work, byt the looks of it, his code work wook too though! but would have had the samne stumbling block as mine ended up having..
    cheers
    ant