14 lines
163 B
Perl
14 lines
163 B
Perl
|
sub outer
|
||
|
{
|
||
|
my $s = "Inside the inner subroutine.\n";
|
||
|
|
||
|
sub inner
|
||
|
{
|
||
|
my $s2 = $s;
|
||
|
print $s2;
|
||
|
}
|
||
|
|
||
|
inner();
|
||
|
}
|
||
|
|
||
|
outer();
|