On 08-01-15 15:08, Zenz, Thomas wrote: > if (scalar(@array) == 1 ){ > # everyting OK, one Entry > ; > } > ... > elsif (scalar(@array) == 1){ > syslog('info', "No Calling-Station-Id"); > } > You probably meant "elsif (scalar(@array) == 0) {" in that second block. -- Herwin Weststrate