in reply to Re: Nodes count in Linked List
in thread Perl linked list
The thing confuses me is what exact data type $L is in the given question?
The test data set would be something like[ 3,2,2,3,3,3,1 ].
I don't understand how the data set get passed into @_ and assigned to $L. [ 3,2,2,3,3,3,1 ] seems like an anonymous array to me if assigned to a $scalar . Could you tell me how it assigned to @_ and $L ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Nodes count in Linked List
by AnomalousMonk (Archbishop) on Mar 31, 2015 at 13:39 UTC | |
|
Re^3: Nodes count in Linked List
by Corion (Patriarch) on Mar 31, 2015 at 13:22 UTC | |
|
Re^3: Nodes count in Linked List
by LanX (Saint) on Mar 31, 2015 at 13:23 UTC | |
by Corion (Patriarch) on Mar 31, 2015 at 13:26 UTC | |
by LanX (Saint) on Mar 31, 2015 at 13:44 UTC |