in reply to Re^3: Print Uniqe elements of arry of hash
in thread Print Uniqe elements of arry of hash

Good hint. I tried to use __DATA__ but for whatever reason my data was not showing properly in preview so I decided to go with readmore tag. Sorry if it caused any inconvenience.

As per sub. if you replace

&count_unique (@{$genes_number{$k}); with

&count_unique (@genes_number);

my code will work. But the simple question that I had to ask is that how can we print the unique elements of the most inner array of an array of array. Probably that makes life easier for you to be able to respond. Just a simple example will help me a lot.

Thank you very much.

Pedro

  • Comment on Re^4: Print Uniqe elements of arry of hash