in reply to Counter && print issue

I'm not entirely sure what you're asking, so I'm afraid I can't help very much, though I can point out a few things you might want to be careful of:

print color("white"), "\n $elt ", color("reset") . color("green") , "\ +t\t\t Ok", color("reset");
I'm sure this is in a loop of some type. If you want to format your output you should probably use printf, the print format command (though I'm unsure of how to mix the colors in there).
foreach $i ($elt) { $check = system($check . $elt); if ( $check > 0 ) { } elsif ( $check = 1 )
this statement will assign a value of 1 to $check, so what you're saying here is "if $check is 0 or less, assign a value of 1 to it and continue with the block". This may not be what you want.

Hope this helps...update: and you may want to
use warnings;
at the top of your script.