Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Graphical Hierarchical Tree

by Sisyphus (Hermit)
on Mar 12, 2003 at 03:58 UTC ( #242241=note: print w/ replies, xml ) Need Help??


in reply to Re: Graphical Hierarchical Tree
in thread Graphical Hierarchical Tree


++nice. However, after adding the -w switch I got lots of uninitialized value warnings. They can be avoided by including an early check in the getarticles subroutine:


sub getarticles {
    my $IndentString = shift;
         my $article = shift;
    return unless $Children{$article};
    ...
}



Granted, not a big deal, but I like it better now, with strictures on.

-- Ricardo
use MacPerl;


Comment on Re: Re: Graphical Hierarchical Tree

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://242241]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-12-17 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (34 votes), past polls