Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: recursive complex structure or something like that?

by diotalevi (Canon)
on Jul 26, 2003 at 02:20 UTC ( #278030=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %dict; # A reverse index on %dict by id.
    while (my $line = <$fh>) {
        my ( $id, $parent, $term ) = split ' ', $line, 3; # Fixed from -3 
    +per sauoq
    ...
    
    use Data::Dumper;
    print Dumper( \ %dict );
    
  2. or download this
    use Util::Scalar 'weaken';
    my %dict; # A reverse index on %dict by id.
    while (my $line = <$fh>) {
    ...
    
    use Data::Dumper;
    print Dumper( \ %dict );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2020-09-26 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (141 votes). Check out past polls.

    Notices?