Comment on array slicing and range operator


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

Post New Answer

More CGI Perl Interview Questions

What is the difference between localtime() and gmtime() functions?

0 Answers  


Explain subroutine in perl?

0 Answers  


What are perl array functions?

0 Answers  


What does the command "use strict" do and why should you use it?

2 Answers   Symphony, TCS,


How to convert arrays into a string in perl?

0 Answers  






There are some duplicate entries in an array and you want to remove them. How would you do that?

0 Answers  


What is the Common Gateway Interface?

2 Answers  


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  


How does polymorphism work in perl? Give an example.

0 Answers  


How the interpreter is used in Perl?

0 Answers  


Does Perl have reference type?

0 Answers  


What are the logical operators used for small scale operations?

0 Answers  


Categories