The script requires CATDSP. I needed something to set the bit rate of /dev/dsp and stream the PCM to stdout where LAME will process it.
Please note the "-x" arg for LAME. It really needs the bytes swapped or you will just hear noise.
The script is doing the shoutcast compatible ICY login and not the "new" ICECAST "x-audiocast" login.
One other requirement is the Net::Telenet module from CPAN. Yes, I could have used a lower layer of Net:: but this was a quick and dirty hack and it works. Suggestions welcomed, flames devnulled.
Tim