Perl normally executes the subs in the given order.
But that depends on what you are doing in those subs.
So if your program is small, just post it completely, otherwise post a bit more of your program and of the subs.
Or, even better, post a url where it can be seen completely.