in reply to Is an empty block not a block?
{} is an empty hash. Consider:
use warnings; use strict; my $hashRef = {}; print "This is fine";
then remove the variable and assignment.
</c>use warnings; use strict; {}; print "This is fine";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is an empty block not a block?
by chas (Priest) on Nov 18, 2005 at 22:18 UTC | |
by eric256 (Parson) on Nov 18, 2005 at 23:00 UTC |