Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^6: Help with reading MP3's

by StarkRavingCalm (Sexton)
on Aug 26, 2011 at 17:17 UTC ( #922712=note: print w/replies, xml ) Need Help??


in reply to Re^5: Help with reading MP3's
in thread Help with reading MP3's

script just hangs with no results. Should I be modifying it in any way prior to running it?

Replies are listed 'Best First'.
Re^7: Help with reading MP3's
by charlesboyo (Beadle) on Aug 26, 2011 at 20:06 UTC
    No, you shouldn't have to change anything.

    Have you tried stepping-through with the debugger? Where exactly is it "hanging"? You might also want to try adding a couple of prints in there for debugging purposes.

    Yet another approach is to present the to-be-searched paths on the command line. Swap

    while (<STDIN>) { chomp;
    with:
    foreach(@ARGV) {
    and invoke your script from the command line with: perl scriptname.pl c:\path1 c:\path2 ...

    Both approaches work for me.

      Ok, swapping that in worked! Not sure why...

      Will have to play with the formatting a bit to see if I can can prune out only those without tags or only those without photos.

      Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-12-04 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (65 votes). Check out past polls.