in reply to Re: Calling Functions
in thread Calling Functions

The main thing is that you're using prototypes. Generally prototypes aren't needed, aren't used and can be harmful unless you're very careful. If you define test2 as
sub test2 { print "test2: Working\n"; }
you'll find you're able to call it before it's defined, without getting a warning.