in reply to How do I get only one item out of attribute?
If you want the returned value to only be the ou value you might look into making it return a hash of hashes. Your return hash would point to another hash. The sub hash would have three keys, corpid, ou and o. Then you could callmy @results = split /,/, $branch; my $desiredAtt = $results[1];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I get only one item out of attribute?
by mr_evans2u (Novice) on Aug 21, 2006 at 18:30 UTC |