in reply to private sub routine
See perlintro, section "Writing subroutines"
You should read the rest of that document too.