G
George Mpouras
$#array
scalar @array or
my $n = @array ?
scalar @array or
my $n = @array ?
$#array
scalar @array or
my $n = @array ?
which is faster ?
$#array
scalar @array or
my $n = @array ?
George Mpouras said:$#array
scalar @array or
my $n = @array ?
I assume with strict the my one with work faster, I think the strict$#array
scalar @array or
my $n = @array ?
robin said:I assume with strict the my one with work faster, I think the strict
pragma makes it faster perl.
robin said:I assume with strict the my one with work faster, I think the strict
pragma makes it faster perl.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.