Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (
-   Cgi-perl (
-   -   Explain subroutine in Perl? (

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.