Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: M3U Playlist Generator

by Soul Singin' (Initiate)
on Jul 02, 2012 at 05:12 UTC ( #979364=note: print w/ replies, xml ) Need Help??

in reply to Re^2: M3U Playlist Generator
in thread M3U Playlist Generator

Below is my rewritten version which does not depend on File::Find


Because I cannot understand the documentation. I'll take a look at your example and keep playing. Thanks!

$inpath can be file ( use -f or -d inestead of -e, since both -f and -d imply -exist )

Good point! -d would be best because the $inpath should be a directory.

$inpath could contain glob metacharacters

Doh! I did not even think of that ... because on my system it will not!

3 argument open is better than two

Old habits are hard to break.

Thanks! Your comments have been very helpful.

Comment on Re^3: M3U Playlist Generator

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://979364]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2016-02-11 18:41 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (377 votes), past polls