in reply to Re: who can help me for a very interesting perl program
in thread who can help me for a very interesting perl program
thanks choroba and QuillMeantTen. I am still confused. what is its value of "$hash" after performing "unshift @queue , map {$_, $hash} @new_paths;" And I always feel that the value of "$hash" is "undef" all alone, because "map" seems not to be able to assign a value to $hash.
as the result from above, How does $$data->{'test'} point to its child directory.root@TestMachine:~/excerise_perl# perl data_for_path.pl $VAR1 = { 'test' => { 'file2' => undef, 'file1' => undef, 'dir1' => { 'file3' => undef } } };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: who can help me for a very interesting perl program
by choroba (Cardinal) on May 03, 2016 at 08:32 UTC | |
by Anonymous Monk on May 03, 2016 at 09:04 UTC | |
by Athanasius (Archbishop) on May 04, 2016 at 04:39 UTC | |
by Anonymous Monk on May 04, 2016 at 07:55 UTC | |
by Athanasius (Archbishop) on May 04, 2016 at 12:10 UTC |
In Section
Seekers of Perl Wisdom