Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Cgi-perl (http://siteownersforums.com/forumdisplay.php?f=13)
-   -   Explain subroutine in Perl? (http://siteownersforums.com/showthread.php?t=358856)

Pavan Techn 06-01-2018 11:06 PM

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 04:56 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.