while (...) {
# these all initialized with undefined value
my($you, $have, $to, $declare, $your, $variables, $one_by_one, $just
+_like_this);
}
But, it's still not clear about what do you want to achieve by that. You can also use hash, and intialize all elements with empty or zero values.
my %hash = map { $_ => '' }
qw(list of elements you want to initialize);
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
|