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 get the count of parameters passed to a perl subroutine?
Name an instance where you used a CPAN module?
Explain string comparison operators in perl.
What is “grep” function in perl?
What is confess function in perl?
What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?
how to search a unique pattern in a file by using perl hash map function ??? plz answer me
How to convert arrays into a string in perl?
What are scalar data and scalar variables?
What does `$result = f() .. g()' really return?
What is chomp() operator/function?
What exactly is grooving and shortening of the array?