Comment on array slicing and range operator
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between localtime() and gmtime() functions?
Explain subroutine in perl?
What are perl array functions?
What does the command "use strict" do and why should you use it?
How to convert arrays into a string in perl?
There are some duplicate entries in an array and you want to remove them. How would you do that?
What is the Common Gateway Interface?
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.
How does polymorphism work in perl? Give an example.
How the interpreter is used in Perl?
Does Perl have reference type?
What are the logical operators used for small scale operations?