You want to edit ID3 tags, either ID3v1 (fixed max field length) or ID3v2 (newer, variable content). Check out MP3::Tag for example. It's a very powerful, and as a consequence, a rather hard to use module. There may be some more focussed, less heavyweight modules for your perusal on CPAN.
Comment on Re^3: Any ideas how to get and set properties of an mp3 file in perl?