[Israel.pm] sub subroutines??

rami doqa rod082 at yahoo.com
Sun Oct 29 07:14:36 PST 2006


hello perl programmers, is there any way to do the
following in perl:
-------------------------------------
sub f1
{
	show();  # calls the show on the f2 subroutine but i
need to call show of f1?
	update();
	....
	sub show {..f1.}
	sub update{.f1..}
}

sub f2
{
	show();   # calls the show on the f2 (right)
	update();
	....
	sub show {..f2.}
	sub update{..f2.}
}
-----------------------------------------------------------
and i want to know if this is a good or bad
programming style 
thanx alot

regards 
dakka, rami 


 
____________________________________________________________________________________
Want to start your own business? Learn how on Yahoo! Small Business 
(http://smallbusiness.yahoo.com) 




More information about the Perl mailing list