Differentiate between c++ and perl.
What arguments do you frequently use for the Perl interpreter and what do they mean?
How to read file into hash array ?
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.
Explain lexical variables.
Explain chomp?
Explain the various characteristics of perl.
What is “grep” function in perl?
how to find a substring in a string without using substr built in functions, and print the substring found
Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?
what r the different type of function in perl ???
Why do you use Perl?
Explain lists and ivalue?