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
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 wandering the Monastery: (6)
As of 2014-08-01 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (255 votes), past polls