due to documentation of keys - http://perldoc.perl.org/functions/keys.html it is just copy of keys, so I don't see how it can react on changes in interfaces hash.