in reply to Can perl do...?

For that first part there: $foo = ("this $foo" =~ s/a/b/); If you shuffle the parens around thusly: ($foo = "this $foo") =~ s/a/b/; It would do what you want. --sean

Replies are listed 'Best First'.
RE: Re: Can perl do...?
by nashdj (Friar) on Jun 05, 2000 at 11:05 UTC
    Brilliant! I just need to think sideways more than I am I guess :)