How are parameters passed to subroutines in perl?
Answer / Abhinav Kukreti
In Perl, parameters can be passed to subroutines using three methods: by value (using the default pass-by-value mechanism), by reference (using the ampersand (&) symbol before the subroutine name), and by calling lists (a comma-separated list of values enclosed in parentheses).
| Is This Answer Correct ? | 0 Yes | 0 No |
How to determine strings length in perl?
Explain the arguments for perl interpreter.
what r the future opportunities in PERL/LINUX after 3 years ??
Who created perl?
What are perl array functions?
Write a script for 'count the no.of digits using regular expressions in perl..
how to extract pin_code,phone_number,year from text file using regular expressions in perl
I have created a CGI-based page,after entering all the values in to the fields, How to get the output on the web browser using Perl
How do I sort a hash by the hash value?
Why to use perl scripting?
how to find a substring in a string without using substr built in functions, and print the substring found
What are numeric operators in perl?