I don't think so, because then the subroutine would have to be called somewhere. Plus, it seems by the rest of the post that the script name is "xxrcor.pl", and it seems that it is called from a bash or something similar.
But it makes sense, it could be...