#!/usr/athena/bin/perl use strict; my @f; my $name; my $param; my $conv; my $comment; my $addr; my $type; my $lf="\n\t"; #$lf = " "; while () { chomp($_); ($name, $param, $conv, $comment) = split (/\t+\s+/, $_); chop($comment); @f = split /\'/,$param; if ($#f == 3) { $addr = $f[1]; $type = $f[3]; $conv = (split /[\[,\]]/,$conv)[1]; print "\n\n"; } }