Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: recursive complex structure or something like that?

by Isanchez (Acolyte)
on Jul 28, 2003 at 22:48 UTC ( [id://278654]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1 0 domestic_animal
    2 1 dog
    3 2 terrier
    4 2 collie
    5 3 fox_terrier
    
  2. or download this
    $in = "sample.txt";
    open (IN, $in) or die "cant open the in\n";
    ...
    
    use Data::Dumper;
    print Dumper( \ %dict );
    
  3. or download this
    $VAR1 = {
              '4' => {
    ...
              '2' => $VAR1->{'1'}{'children'}[0],
              '5' => $VAR1->{'1'}{'children'}[0]{'children'}[0]{'children'
    +}[0]
            };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found