What are the various file operations in perl. Explain with example.


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

Post New Answer

More CGI Perl Interview Questions

What are some of the key features of objects in perl?

0 Answers  


i have a folder called 'error' and in that, i have error log files which are generated by the build, now i want to findout the string 'error' from each log file and that error has to be copied into the another file called 'analysis'. how do you do this in perl?

5 Answers   HP,


Explain which feature of PERL provides code reusability?

0 Answers  


What is a hash?

6 Answers   Photon, Satyam, Wipro,


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  






Explain perl one-liner?

0 Answers  


Define perl scripting?

0 Answers  


List all the features of perl programming?

0 Answers  


How to compare two strings in perl?

0 Answers  


How can you call a subroutine and identify a subroutine?

0 Answers  


What is 'commit' command in perl?

0 Answers  


What are perl strings?

0 Answers  


Categories