how to search a unique pattern in a file by using perl hash
map function ??? plz answer me
Answers were Sorted based on User's Feedback
Answer / hemant
I did't got ur answer ..!!
Can u explain it a lil Bit ...
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vinod mishra
open(FH, "file");
@array = <FH>;
%seen = ();
@uniq = grep{!seen{$_}++} @array;
| Is This Answer Correct ? | 1 Yes | 6 No |
When do you use perl programming?
Explain goto label?
What is the use of –w?
What are the options that can be used to avoid logic errors in perl?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
How we can navigate the xml documents?
Explain substr function in perl?
What are perl array functions?
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?
How to get help for perl?
Explain strftime() function in perl?
How do I replace every TAB character in a file with a comma?