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 |
How will you open a file in a write-only mode in perl?
List the files in current directory sorted by size ?
How to find the length of an array in perl?
What is use of ‘->’ symbol?
What is the difference between exec and system?
Can inheritance be used in perl? Explain with the help of an example.
What is the difference between module and package?
What is 'rollback' command in perl?
What is perl? What is the basic command to print a string in perl?
What $! In perl?
Why does Perl not have overloaded functions?
What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?