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
Comment on
Re: Can perl do...?
Select
or
Download
Code
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 :)
[reply]
In Section
Seekers of Perl Wisdom