how to search a unique pattern in a file by using perl hash
map function ??? plz answer me
Answer Posted / vinod mishra
open(FH, "file");
@array = <FH>;
%seen = ();
@uniq = grep{!seen{$_}++} @array;
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What does -> symbol indicates in Perl?
Explain split function in perl?
Explain lists ?
What are some of the key features of objects in perl?
What is lexical variable in perl?
what is the function that is used to identify how many characters are there in a string?
Demonstrate subroutines in perl with a simple example.
What is perl scripting?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
How do I pass a command line argument in perl?
What are prefix dereferencer?
Which has highest precedence in between list and terms? Explain?
When do you use perl programming?
What are numeric operators in perl?
What is the difference between die and exit in perl?