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?
HP,
5 8825Can any1 tell me 2 write the script using perl script 2 looking at a log file 2 see wheather the test has passed or not.
TCS,
3 7018
If you want to empty an array then how would you do that?
What is a chop() function in perl?
How can arrays be tied?
How will you open a file in a write-only mode in perl?
What is the use of "stderr()"?
What are hashes?
Explain the arguments for perl interpreter.
What is perl scripting?
What is Perl?
How to turn on Perl warnings? Why is that important?
There are two types of eval statements i.e. Eval expr and eval block. Explain them.
How does polymorphism work in perl? Give an example.
How to compare two strings in perl?
What is cpan ? What are the modules coming under this?
What are scalar data and scalar variables?