Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Cgi-perl (http://siteownersforums.com/forumdisplay.php?f=13)
-   -   How to access parameters passed to a subroutine in Perl? (http://siteownersforums.com/showthread.php?t=358859)

Pavan Techn 06-01-2018 11:07 PM

How to access parameters passed to a subroutine in Perl?
 
Parameters are accessed inside a subroutine using special array @_. Hence, the arguments will start with $_[0], $_[1], $_[2], $_[3] and so on.


All times are GMT -7. The time now is 10:00 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.