How to access parameters passed to a subroutine in perl?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More CGI Perl Interview Questions

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?

2 Answers  


What is the difference between having a parenthesis after module name and without parenthsis after module name?? i.e Package::Module(); and Package::Module;

1 Answers  


Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.

0 Answers  


What is boolean context?

0 Answers  


Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?

0 Answers  


What is “grep” function in perl?

0 Answers  


What does read () command do?

0 Answers  


List the data types that Perl can handle?

0 Answers  


How will you open a file in read-only mode in perl?

0 Answers  


Define say() function in perl?

0 Answers  


write a perl script to find whether a given line of text is starting and ending with same word or not ???

2 Answers   CSS,


What is the purpose of _package_ literal?

0 Answers  


Categories