in reply to Persistent counter

Greetings fellow monk ,

do you "use strict" ?

I'm not sure , i see at first a weird if ($failedActivations eq 3 ) , it should be if ($failedActivations == 3 ) or if ($failedActivations eq "3" )

i think you should have an error message at least from that . Try to use strict ('helps a lot !!! as well as perl -w ) and give us some news of what happens in a reply to your question ...

the little one.