What is the use of –w?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between die and exit in perl?
“Perl regular expressions match the longest string possible”. What is the name of this match?
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 a chomp() function in perl?
How can you create anonymous subroutines?
What happens in dereferencing?
What arguments do you frequently use for the Perl interpreter and what do they mean?
what are the steps involved in reading a cgi script on the server?
Explain socket programming in perl?
How and what are closures implemented in perl?
Can inheritance be used in perl? Explain with the help of an example.
Explain lexical variables.