Sinjai
0
Q:

perl for


        
            
        
     #!/usr/bin/perl
use warnings;
use strict;

my @c = (1..6);
for(my $i = 0; $i <= $#c; $i++){
	print("$c[$i] \n");
}
1
for ($i=0; $i<#whatever#; $i++){
	#your code
}
0

New to Communities?

Join the community