There are two types of eval statements i.e. Eval expr and eval block. Explain them.
No Answer is Posted For this Question
Be the First to Post Answer
What are the various file operations in perl. Explain with example.
What is warn function in perl?
Explain regular expression in perl?
what is perl language?
How to print escaping characters inside a string in perl?
Define print() function in perl?
What are the two ways to get private values inside a subroutine?
What rules must be followed by modules in perl.
How many data types are there in perl?
How to merge two arrays in perl?
How to connect with sqlserver from perl and how to display database table info?
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.