Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Copy Mp3s By Genre

by sacked (Hermit)
on Apr 26, 2004 at 22:29 UTC ( #348343=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(FL, $File::Find::name);
    ...
    close(FL);
    
  2. or download this
    use File::Spec::Functions qw(catdir);
    ...
    $newdir = catdir( $dstdir => $dir );
    
  3. or download this
    eval { mkpath($newdir, 0, 0755) };
    if ($@) {
      print "canít mkdir $newdir: $@";
    }
    
  4. or download this
    use strict;
    use MP3::Info;
    ...
        # a directory as the second argument
        copy($path => $newdir) or die "copy failed: $!\n"; 
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://348343]
help
Chatterbox?
[Discipulus]: DBI::CSV + utf8 = BOO?M
[erix]: in extremis we tend to forget stuff ;)
[ELISHEVA]: \Disciplus : lol
[Discipulus]: and ELISHEVA we waait one your post since ~2years... ;=)
[ELISHEVA]: has it really been that long?
[Discipulus]: it seems..
[Discipulus]: more: just one thread in the last ~5 years
[Discipulus]: but Dumas is waiting for me in the bed.. luckly as book author.. see you!
[ELISHEVA]: Sleep well!
[ELISHEVA]: Or read well

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-05-28 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?