in reply to Help with reading MP3's
Try adding a failure message to your 'open':
my $file = 'file.mp3'; my $mp3 = MP3::Tag->new($file) or die "Can't open $file: $!\n";
Although it doesn't seem to be documented, MP3::Tag->new seems to set $! on failure. Very likely you have a mismatch between to current directory and the directory you think is current when the script runs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help with reading MP3's
by StarkRavingCalm (Sexton) on Aug 25, 2011 at 11:25 UTC | |
by charlesboyo (Beadle) on Aug 25, 2011 at 16:11 UTC | |
by StarkRavingCalm (Sexton) on Aug 25, 2011 at 17:29 UTC | |
by charlesboyo (Beadle) on Aug 25, 2011 at 21:50 UTC | |
by StarkRavingCalm (Sexton) on Aug 26, 2011 at 17:17 UTC | |
|