Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: Perl Best Practices

by TheDamian (Priest)
on Jul 22, 2005 at 21:07 UTC ( #477354=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Best Practices
in thread Perl Best Practices

Thanks for the errata. I've passed them on to O'Reilly.

Getopt::Clade will be on CPAN in August. Unfortunately, my planned release schedule had to be slipped slightly due to a series of family medical emergencies.

Regarding no GRT example: There were probably two dozen examples of useful-but-not-essential techniques that I had to leave out to keep the book to a "mere" 550 pages. GRT was one of those.

Replies are listed 'Best First'.
Re^3: Perl Best Practices
by simonm (Vicar) on Jul 22, 2005 at 21:16 UTC
    My sympathies on the medical front; best of luck there.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://477354]
[oiskuu]: You want to draw the path? $iter = combinations( $TOP_HEIGHT .. $NODE_HEIGHT, $pos); then get the path from the iter, level change at depth x, for(..) $pos += $level_change; something like that
[oiskuu]: yergh, <code> tags... [$top_height .. $node_height]
[Eily]: Discipulus by demonstrate I suppose you mean simulate with perl?
[Eily]: the demonstration itself is fairly easy. The number of paths on a node is the sum of the numbers of paths to the two nodes above (or one node above on the edges of the triangle)
[Eily]: since the value of a node is also the sum from the two nodes above, you just have to demonstrate that the equality is true at the top of the triangle
[Discipulus]: yes Eily, thanks oiskuu but i dont get it.. ;=( maybe I'll ask a SOPW
[LanX]: all combinations with same amount of left and right?
[Eily]: if you want to store in a structure with the coordinates as key, arrays might do, since the keys are going to be 0..n

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2018-03-19 11:13 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.