Harry Putnam wrote:

my %h1  = (
           './b/f1'       =>  'f1',
           './b/c/fa'     =>  'fa',
           './b/l/c/f2'   =>  'f2',
           './b/g/f/r/fb' =>  'fb'
);

my %h2  = (
'./b/fb' => 'fb', './b/c/fd' => 'fd',
           './b/l/c/f2'    => 'f2',
           './b/g/f/r/fc'  => 'fc',
           './b/g/h/r/fb'  => 'fb'
       );

In your previous example you used two different paths, so why does this example have only one path and why do './b/l/c/f2' and './b/g/f/r/fb' show up in both hashes but the other values do not?




John
--
The programmer is fighting against the two most
destructive forces in the universe: entropy and
human stupidity.               -- Damian Conway

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to