sub do_something { print "now we want to do this.\n"; step_1(); step_2(); step_3(); } sub step_1 { print " handle this part of the job.\n"; } sub step_2 { print " handle the next part of the job.\n"; } sub step_3 { print " handle some other part of the job.\n"; } do_something();