What is confess function in perl?
No Answer is Posted For this Question
Be the First to Post Answer
my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?
What are perl variables?
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 perl I used for?
Does Perl have objects? If yes, then does it force you to use objects? If no, then why?
How can you call a subroutine and identify a subroutine?
How to convert arrays into a string in perl?
What does 'do' statement do in perl?
Explain a tell function in perl?
How to connect to SQL server through Perl?
In Perl, what is grep function used for?
Explain ivalue?