I use `readdir(DIR)` to read a file , but when I use

```
$file = readdir(DIR);
print $file;
print "\n";
sleep(2);

```

it will print a file one time;

but when I use 

```
print readdir(DIR);
print "\n";
sleep(2);

```

it pop out many files

what's wrong with it?

thanks