As Anon points out, you're really using m///use File::Glob (); foreach $file (glob('*.*')) { if ($file =~ /\.c/) { $filename = $file; print /$filename\n/; } }
In reply to Re: Loop Break
by toolic
in thread Loop Break
by stallion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |