Re: Perl-Frage: Patternmatching
- From
- Mark Seuffert (Pirates) <captain@...>
- Date
Hai, ignore_case fehlt evtl noch:
> @MP3 = @WAV;
> foreach $elem(@MP3) {
> $elem =~ s/\.wav$/\.mp3/;
foreach $file(@MP3) { $file =~ s/\.wav$/\.mp3/i } #replace wav through mp3
PS: Wenn es sich vermeiden lässt, würde ich nicht alles in ein Array
einlesen, sondern z.B. mit while() Zeile fuer Zeile bearbeiten (wir sind
hier ja nicht bei Windows, grins).
Hope it helps.... btw http://www.tnpg.com (MP3 charts) :)
--
Moak
kill can kill kill but killall can't kill all killall but kill all kill
Thread
In reply to: Re: Perl-Frage: Patternmatching Stephan Skrodzki <skrodzki@...>