in reply to Re: No braces
in thread No braces
my %foo; if !%foo{die} {print "Yes"}; # Prints yes. if !%foo {die} {print "Yes"}; # dies.
Larry was wearing his real smart hat when he made this rule up.Oh, he was, when he designed perl1 to perl5. But he's making up for it with his significant whitespace rules in perl6.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: No braces
by demerphq (Chancellor) on Feb 11, 2004 at 22:24 UTC | |
by hhdave (Beadle) on Feb 12, 2004 at 23:20 UTC |