>>>>> "TC" == Tom Christiansen <[EMAIL PROTECTED]> writes:

  >> ($foo = $bar) =~ s/x/y/; will never make much sense to me. 
  TC> What about these, which are much the same thing in that they all
  TC> use the lvaluability of assignment:

  TC>     chomp($line = <STDIN>);
  TC>     ($foo = $bar) += 10;

that should be a much clearer:

        $foo = $bar + 10;

  TC>     ($foo += 3) *= 2;

that is way too many assignment ops. better is the normalized

        $foo = ($foo + 3) * 2;

  TC>     $n = select($rout=$rin, $wout=$win, $eout=$ein, 2.5);

who uses select directly anymore? use a module! :)

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

Reply via email to