in reply to Use of foreach

Win,
What happens when you try the following code instead:
for (@file_names) { print defined($_) ? "$_\n" : "undefined element\n"; } exit;

Cheers - L~R

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.