R
Rider
Hi experts,
I need a little help on the below data massage.
In the output, I need to get only the users with the respective
multiple groups. If a user belongs to only one group, we need to
ignore that entry.
I am struggling with code here. I am trying to do it with hashes
instead of the arrays.
Can some one help me here?
The output (two columns should be seperated by two tabs) of the below
__DATA__ should be as follows (pl. note that the two columns of data
are seperated by a single tab in __DATA__ content):
1. burt 1). google_abc
2). google_abc_def
2. mike 1). amazon_abc
2). yahoo_xyz
3). google_abc
3. zack 1). yahoo_abc
2). ebay_abc
3). google_abc
4). amazon_abc
__DATA__
alissa yahoo_xyz
burt google_abc
burt google_abc_def
mike amazon_abc
mike yahoo_xyz
mike google_abc
will yahoo_abc
zack yahoo_abc
zack ebay_abc
zack google_abc
zack amazon_abc
I need a little help on the below data massage.
In the output, I need to get only the users with the respective
multiple groups. If a user belongs to only one group, we need to
ignore that entry.
I am struggling with code here. I am trying to do it with hashes
instead of the arrays.
Can some one help me here?
The output (two columns should be seperated by two tabs) of the below
__DATA__ should be as follows (pl. note that the two columns of data
are seperated by a single tab in __DATA__ content):
1. burt 1). google_abc
2). google_abc_def
2. mike 1). amazon_abc
2). yahoo_xyz
3). google_abc
3. zack 1). yahoo_abc
2). ebay_abc
3). google_abc
4). amazon_abc
__DATA__
alissa yahoo_xyz
burt google_abc
burt google_abc_def
mike amazon_abc
mike yahoo_xyz
mike google_abc
will yahoo_abc
zack yahoo_abc
zack ebay_abc
zack google_abc
zack amazon_abc