http://qs321.pair.com?node_id=991425


in reply to Re^2: Calling a subroutine within a conditional
in thread Calling a subroutine within a conditional

Where do you define the subroutines? If they are in the same package, move them above the main part of the code; that's better style anyway.