in reply to Re^3: Reversing a singly linked listin thread Reversing a singly linked list
Awww! Can't believe you missed the opportunity for a list assignment here. :)
($curr->{next}, $tail, $curr) = ($tail, $curr, $curr->{next});