Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Graphical Hierarchical Tree

by Sisyphus (Chaplain)
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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://242241]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-11-23 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (336 votes). Check out past polls.

    Notices?