I want each Hash element to point to an array or list of users that share
the same home dir instead of another hash.
ie.
$VAR1 = {
          '/var/imap' => {
                           '_cyrus'
                         },
          '/var/empty' => {
                            '_spotlight'
                            '_appserver'
          '/var/root' => {
                           'root',
                           'daemon'
                         },
          '/Library/WebServer' => {
                                    '_www',
                                    'apache'
                                  },
          }


On Sun, Jun 8, 2008 at 5:22 AM, John W. Krahn <[EMAIL PROTECTED]> wrote:

> Rodrick Brown wrote:
>
>> I'm trying to fully understand references so I created a data structure to
>> stores the output of users on my system who share home dirs.
>> I use a HoH to represent this data set but its not working as expected.
>> Conceptually I can visualize how the data should look
>>
>
> Perhaps if you provided a hard copy of that visualization we might be able
> to translate it into Perl code.
>
>
> John
> --
> Perl isn't a toolbox, but a small machine shop where you
> can special-order certain sorts of tools at low cost and
> in short order.                            -- Larry Wall
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
>


-- 
[ Rodrick R. Brown ]
http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown

Reply via email to