#!/usr/bin/perl use warnings; use strict; use feature qw{ say }; sub callForwardingsCF { my ($found) = @_; $found->{1} = 1 if /\t*CF=(CFU-TS10-ACT-(NONE|\d+))/; $found->{2} = 1 if /\t*CF=(CFB-TS10-ACT-(NONE|\d+))/ } my %found; while (<>) { if (/