That worked because you had no files in the current directory named a, b, c, abc, ..., or any of the strings in @x. The angle brackets are globbing in this case, as John M. Dlugosz pointed out above. Check out perlio, then try adding * to @x and running your code again.
In reply to Re (5): loop control
by VSarkiss
in thread loop control
by maxl90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |