[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] crazy hoops to do something that seems so simple?



On Tue, Nov 14, 2000 at 01:10:39PM -0500, Scott R. Godin wrote:
>     $coercename =~ s/([a-z]|[0-9])/$replace{$1}/g;
> 

You only need one character class there:

s/([a-z0-9])/$replace{$1}/g;


Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org