maybe your transfer type is not correct, you should transfer perl script by ASCII,not binary.as we know \n is not same on different os.
you can ask your friend to send it to you again and test ?
while(glob("*/")) {
&goHere if($_ eq "images/");
}
or you can use -d
while(glob "*"){
&goHere if(-d and $_ eq 'images');
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.