Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Get certain information from MP3::Tag's autoinfo()

by Kenosis (Priest)
on Aug 07, 2012 at 20:37 UTC ( #986077=note: print w/ replies, xml ) Need Help??


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

Here's another option:

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


Comment on Re: Get certain information from MP3::Tag's autoinfo()
Download Code
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-31 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls