Explain subroutine in Perl?
Perl subroutine lets you reuse a code in your program. They accept arguments, perform their operation and return the values. A subroutine is declared with 'sub' keyword before its name. In Perl, function and subroutine are used interchangeably.
|
All times are GMT -7. The time now is 02:00 AM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.