What does Perl do if you try to exploit the execve(2) race involving setuid scripts?
Comment on data types and variables in perl.
What are the various file operations in perl. Explain with example.
What is the function of cgiwrap in cgi programming?
how to find a substring in a string without using substr built in functions, and print the substring found
We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?
Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?
What do you mean by context of a subroutine?
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.
List the files in current directory sorted by size ?
How to copy a file in perl?
Explain splicing of arrays?
How do you match one letter in the current locale?