How to access parameters passed to a subroutine in perl?
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 is the difference between having a parenthesis after module name and without parenthsis after module name?? i.e Package::Module(); and Package::Module;
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
What is boolean context?
Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?
What is “grep” function in perl?
What does read () command do?
List the data types that Perl can handle?
How will you open a file in read-only mode in perl?
Define say() function in perl?
write a perl script to find whether a given line of text is starting and ending with same word or not ???
What is the purpose of _package_ literal?