http://qs321.pair.com?node_id=1149515

punitpawar has asked for the wisdom of the Perl Monks concerning the following question:

Hello
I need your help. I am trying to write a program that will create a binary tree for any 10 random numbers that are generated. I did try to search online , but I am not able to get a simplified approach of doing this.
Please can any of you help me with this ?

I was reading this link : the Perl Cookbook

But for some reason the node insertion after the second node is added does not make sense to me. I am confused with the way they are using references here.
Any help will be appreciated.