Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Using modules for Newbies

by logan (Curate)
on Apr 20, 2003 at 03:52 UTC ( [id://251770]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w 
    use MP3::ID3v1Tag;
    
  2. or download this
    use MP3::ID3v1Tag; # Adds the library
      $mp3_file = new MP3::ID3v1Tag("filename.mp3"); # Creates a new objec
    +t called $mp3_file. 
    ...
            $mp3_file->set_title($title); # calls subroutine set_title(), 
    +which will set the title to the value $title. In normal practice, you
    + probably would have parsed out of the filename
            $save_status = $mp3_file->save(); # calls subroutine save(), c
    +ommitting your changes. 
      }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-25 01:13 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found