dilip_val has asked for the wisdom of the Perl Monks concerning the following question:
$path = "C:\\songs\\"; chdir $path; @list = glob("*.mp3"); for $filename ( @list ) { print "$filename\n"; }
20070904 Janitored by Corion: Added code tags, as per Writeup Formatting Tips
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to search recursively and return specific patterns
by johnlawrence (Monk) on Aug 24, 2007 at 13:16 UTC | |
by dilip_val (Acolyte) on Aug 24, 2007 at 14:34 UTC | |
by chrism01 (Friar) on Aug 24, 2007 at 14:47 UTC | |
by dilip_val (Acolyte) on Aug 24, 2007 at 15:33 UTC | |
Re: How to search recursively and return specific patterns
by FunkyMonk (Chancellor) on Aug 24, 2007 at 12:59 UTC | |
Re: How to search recursively and return specific patterns
by moritz (Cardinal) on Aug 24, 2007 at 12:59 UTC |