in reply to regexp help -- grab almost a whole string
$circuit_id = join q{}, $if_descr =~ /([^.]*)\.?([^.]*)/;
Easier, though, is just to do:
$circuit_id = $if_descr; $circuit_id ~= s/\.//; [download]