SUB in Perl Language
sub testperl {
my $testperl = shift;
print $testperl;
}
Now we can use the subroutine just as any other built-in function:
testperl("test perl language");
Ayuttech (Voc.Cert.) | KMUTNB (B.S.Tech.Ed.) | InfoSec Engineer | Penetration Tester | Taylor Swift | COYG
sub testperl {
my $testperl = shift;
print $testperl;
}
Now we can use the subroutine just as any other built-in function:
testperl("test perl language");
Ayutthaya Technical College/Voc.Cert.🛠️ | KMUTNB/B.S.Tech.Ed.⚙️ | Information Security Engineer 👨🏻💻| Penetration Tester👨🏻💻 | COYG🔴 Milan🔴⚫️ | Taylor Swift👩🎤 | ติ่งซีรีส์ญี่ปุ่น 🇯🇵 View all posts by sornram9254
Published by