7 lines
73 B
Perl
7 lines
73 B
Perl
|
|
sub dofruit {
|
||
|
|
$fruit='apple';
|
||
|
|
}
|
||
|
|
|
||
|
|
dofruit;
|
||
|
|
print "The fruit is $fruit";
|