in reply to To call a sub from another sub

Er... yes. It works exactly how you'd expect it to. Or, at least, how I'd expect it to. What did you try? What happened when you tried it?

sub a_subroutine { print "this is a subroutine\n"; } sub another_subroutine { print "this is another subroutine\n"; a_subroutine(); } another_subroutine();
--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg