Write the program to process a list of numbers.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More CGI Perl Interview Questions

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.

2 Answers  


In CPAN module, name an instance you use.

0 Answers  


What does read () command do?

0 Answers  


What is the difference between perl array and perl hash?

0 Answers  


Explain the various characteristics of perl.

0 Answers  


What is chomp() operator/function?

0 Answers  


Which functions in perl allows you to include a module file. State their differences.

0 Answers  


What is use of ‘->’ symbol?

0 Answers  


How will you access an element of a perl array?

0 Answers  


What exactly is grooving and shortening of the array?

0 Answers  


How to prevent file truncation in perl?

0 Answers  


What are the various advantages and disadvantages of perl?

0 Answers  


Categories