What can be done for efficient parameter passing in perl?
No Answer is Posted For this Question
Be the First to Post Answer
What is a hash?
6 Answers Photon, Satyam, Wipro,
Consider the following example #! /bin/perl use strict; sub sample { my @arr=(1,2,3,4); return @arr; } my ($a,$b,$c,$d) = &sample; print "$a\n$b\n$c\n$d\n"; In the above code, How can I get the $c without using the arguments such as $a,$b. I don't want to use any array to get the return values.
What is chomp() operator/function?
How interpreter is used in perl?
What do you mean by context of a subroutine?
Explain grooving and shortening of arrays and splicing of arrays?
How to convert arrays into a string in perl?
Which functions in perl allows you to include a module file.
What is the use of -n and -p options?
Explain goto name?
List the data types that Perl can handle?
Why we use "use lib $path"?