in reply to Perl linked list
> Here comes the codes I come up with,
Which is double buggy, test next not value with defined not eq "undef" (data structure here).
Well triple, empty list aren't covered.
Consider a recursive solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl linked list
by jdporter (Paladin) on Apr 01, 2015 at 14:05 UTC |