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


in reply to Re^4: Tree Structure Challenge
in thread Tree Structure Challenge

What does it do with the parameter? In other words, what would the returned object look like with differing values of input to the constructor?

Dum Spiro Spero

Replies are listed 'Best First'.
Re^6: Tree Structure Challenge
by choroba (Cardinal) on Nov 30, 2015 at 17:52 UTC
    You don't know what the implementation is. It can do whatever it likes to be able to run get_leaves.
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,