I
ixtahdoom
Hi All,
Does the declaration of a variable impact performance? For exmaple:
Loop A:
while (<>) {
my $something = $_;
}
Loop B:
my $something;
while (<>) {
$something = $_;
}
Is either one better w.r.t. performance?
Thanks,
itd
Does the declaration of a variable impact performance? For exmaple:
Loop A:
while (<>) {
my $something = $_;
}
Loop B:
my $something;
while (<>) {
$something = $_;
}
Is either one better w.r.t. performance?
Thanks,
itd