[ale] Perl quickie

Chris Fowler cfowler at outpostsentinel.com
Fri Jan 16 11:21:45 EST 2004


I'm trying to remove all spaces in a string.

        my $dir = $tag->{GENRE}."/".$info->{ARTIST}."/".$info->{ALBUM};
        my $dir =~ (s/\ /\_/g);
        print $dir."\n";

What is the right way to do it?

Thx,
Chris



More information about the Ale mailing list