use strict; use warnings; whatever(); sub whatever { my $value = 5; $value = increment($value); print $value; } sub increment { return $_[0] + 1; }
In reply to Re: To call a sub from another sub
by TedPride
in thread To call a sub from another sub
by tamaguchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |