Wouldn't this "secure" that the $start_of_barrel_region is defined?No, as you can easily verify:
#! /usr/bin/perl use warnings; use strict; my $x; print defined($x) ? "Defined\n" : "Undefined\n"; print $x;
my declares a variable, but doesn't make it defined. You have to assign a value to it (other than undef) to make it defined.
In reply to Re^3: Is this a severe error?
by choroba
in thread Is this a severe error?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |