in reply to Re^4: "my $p = value if condition()" as bad|deprecated as "my $p if 0" (Naughty indeed)
in thread "my $p = value if condition()" as bad|deprecated as "my $p if 0" (Naughty indeed)
Why is a block form easier to debug than the statement modifier form?
It's often easier to set a line breakpoint in a debugger if there's only one sequence point per line.
Of course, a good debugger gives you more options for setting breakpoints than just "When execution reaches this line," so it's a slight reason.
|
|---|