You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
163 B
Perl
14 lines
163 B
Perl
5 years ago
|
sub outer
|
||
|
{
|
||
|
my $s = "Inside the inner subroutine.\n";
|
||
|
|
||
|
sub inner
|
||
|
{
|
||
|
my $s2 = $s;
|
||
|
print $s2;
|
||
|
}
|
||
|
|
||
|
inner();
|
||
|
}
|
||
|
|
||
|
outer();
|