Differentiate between use and require, my and local, for and foreach and exec and system
No Answer is Posted For this Question
Be the First to Post Answer
Write a script to reverse a string without using Perl's built in function
Explain the default scope of variables in perl?
What is stdin in perl?
What is the use of command “use strict”?
Explain lists in perl?
What does cgi program store?
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?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
Why to use perl scripting?
How to make the following assignment, as arrayreference assignment ? my $arr_ref='[1,2,3,4,4,'elem']';
What is the use of strict?
write a script to check whether user enter a value is a leap year or not?
3 Answers Oracle, Persistent, ViPrak,