What I need is the word between the first and second ";". This word always changes, so I need to check the line that starts with "ip description" (there's always a space before it) and grab it to a file. There could be several commands like that on one file, so I need to append.

As I'm a telecommunication guy, Perl is really not my expertise, so I just got the scipt below, to verify I was reading line by line. That's what I got so far.