in reply to Re: Iterating through string combinations
in thread Iterating through string combinations

I think you mean either
$num =~ s{(.)(z*)$}{
or
$left =~ tr/0-9a-y/1-9a-z/ or $left = "1";

Replies are listed 'Best First'.
Re: Re: Re: Iterating through string combinations
by merlyn (Sage) on Dec 18, 2001 at 09:18 UTC
    Ahh, no the problem is that I had (.|^) and tested it, but then decided (incorrectly) it should be (^|.). I like your (.) solution the best.

    -- Randal L. Schwartz, Perl hacker