Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Copy Mp3s By Genre

by sacked (Hermit)
on Apr 26, 2004 at 22:29 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://348343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-23 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found