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 |
What is the difference between die and exit in perl?
How to add elements in a hash in perl?
What is the use of command “use strict”?
What purpose does each of the following serve: -w, strict, - T ?
what is Chop & Chomp function does?
What are arrays in perl?
How to sort arrays in perl?
How would you replace a char in string and how do you store the number of replacements?
What is automatic error handling in perl?
how to install a package in perl ????
Which of these is a difference between Perl and C++ ?
What is the easiest way to download the contents of a URL with Perl?