How to read multi lines from a file in perl?


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

Post New Answer

More CGI Perl Interview Questions

while(my($key, $value) = each(%hash) ) { print "$key => $value\n"; } my($key, $value); while(($key, $value) = each(%hash) ) { print "$key => $value\n"; } What is the different between these two code in case of "my" usage ?

1 Answers  


What does undef function in perl?

0 Answers  


What is stdin in perl?

0 Answers  


How would you replace a char in string and how do you store the number of replacements?

2 Answers  


What does a die() function do in perl?

0 Answers  






What are the steps involved when the cgi program starts running?

0 Answers  


Write a program to decode the data in the form using cgi programming

0 Answers  


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

0 Answers  


Give an example of the -i and 0s option usage.

0 Answers  


What exactly is grooving and shortening of the array?

0 Answers  


What is the difference between $array[1] and @array[1]?

1 Answers  


Can inheritance be used in perl? Explain with the help of an example.

0 Answers  


Categories