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.
|
sub printem
|
|
{
|
|
my $string1 = shift;
|
|
return sub {my $string2 = shift; print "$string1 $string2\n";};
|
|
}
|
|
$hellosub = printem("Hello");
|
|
&$hellosub("today.");
|
|
&$hellosub("there.");
|