in reply to Re^3: Is { } an empty block or a bug in perl?
in thread Is { } an empty block or a bug in perl?
That doesn't matter.
despite what people would tell you
That doesn't matter either.
IMHO, it is valid code. Look at it this way:
# block #1 { } # block #2 { }
See? Two empty blocks waiting for code. It is valid.
Just because no one in their perfect state of mind would use that doesn't make it invalid.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Is { } an empty block or a bug in perl?
by Joost (Canon) on Jul 06, 2005 at 19:23 UTC | |
Re^5: Is { } an empty block or a bug in perl?
by leriksen (Curate) on Jul 06, 2005 at 23:32 UTC |