Smylers schreef:

>   my $whatever
>       = do { my $baz = $bar * 17; my $quux = $baz - 3; $baz / $quux };


($bar better not be 3/17)


Just a rewrite:

   my $whatever
       = do { my $quux = (my $baz = $bar * 17) - 3; $baz / $quux };

And maybe even something like:

   my $whatever
       = do { $.quux = ($.baz = $bar * 17) - 3; $.baz / $.quux };

(where quux and baz are topicals of the embracing do)

-- 
Affijn, Ruud

"Gewoon is een tijger."

Reply via email to