Explain the difference between "my" and "local" variable scope declarations. ?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the internal working of cgi
What is the use of -t?
Enlist the advantages of using c over perl?
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
Difference between the variables in which chomp function work ?
How would you trap error occurred in the perl program/file?
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 does init 5 and init 0 do?
Explain returning values from subroutines?
How can arrays be tied?
Why is it hard to call this function: sub y { "because" } ?
What is the difference between having a parenthesis after module name and without parenthsis after module name?? i.e Package::Module(); and Package::Module;