Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Create folder hierarchy based on MP3 tags

by hbm (Hermit)
on Aug 08, 2012 at 15:22 UTC ( #986309=note: print w/replies, xml ) Need Help??


in reply to Re: Create folder hierarchy based on MP3 tags
in thread Create folder hierarchy based on MP3 tags

Ternary is nice, but I'd check the tags this way, in case any is just whitespace:

$title = 'unknown_title' if $title !~ /\S/; $artist = 'unknown_artist' if $artist !~ /\S/; $album = 'unknown_album' if $album !~ /\S/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986309]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-02-18 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (257 votes). Check out past polls.

    Notices?