Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



how to search a unique pattern in a file by using perl hash map function ??? plz answer me..

Answer / hemant

I did't got ur answer ..!!
Can u explain it a lil Bit ...

Is This Answer Correct ?    0 Yes 1 No

how to search a unique pattern in a file by using perl hash map function ??? plz answer me..

Answer / vinod mishra

open(FH, "file");
@array = <FH>;
%seen = ();
@uniq = grep{!seen{$_}++} @array;

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More CGI Perl Interview Questions

What does the qq{ } operator do?

0 Answers  


Explain what is perl language?

0 Answers  


What?s your favorite module and why?

3 Answers  


Which has the highest precedence, List or Terms? Explain?

0 Answers  


What can be done for efficient parameter passing in perl?

0 Answers  


Is there any way to add two arrays together?

0 Answers  


How to open and read data files with Perl

0 Answers  


How to read a file into a hash array?

0 Answers  


Explain goto label, goto name, and goto expr?

0 Answers  


How to copy a file in perl?

0 Answers  


What does this symbol mean '->'?

0 Answers  


Explain ivalue?

0 Answers  


Categories