in reply to Get certain information from MP3::Tag's autoinfo()

Here's another option:

my ( $artist, $album ) = ( $mp3->autoinfo )[ 2, 3 ];

Replies are listed 'Best First'.
Re^2: Get certain information from MP3::Tag's autoinfo()
by thmsdrew (Scribe) on Aug 08, 2012 at 12:42 UTC

    Thanks, I rather like this solution!

      You're most welcome, thmsdrew! Glad it worked for you...

        I actually don't know if it worked for me or not. Don't have Perl on my machine at work unfortunately. I'll know when I get home!