Autarksub printheader { my $page = shift; if($page eq "index") { return printheader_index() } elsif($page eq "some other page") { return printheader_some_other_pager() } # ... }
In reply to RE: Polymorphism?
by autark
in thread Polymorphism?
by Cheburashka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |