Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This method seems save considerable code as opposed to the entries() method. When using entries(), I end up creating my own HoHs via $entry->get_value( 'attribute' ). The only nice thing about building my own HoH is that I'm comfortable using $hash{dn}{mail} constructs. Using the as_struct() method means using either @{ $$href{$dn}{mail} } or @{ $hash{$dn}{mail} }.
Is there a shorthand notation for the above or am I making too big a deal out of using the extra outer @{} constructs? I looked closely at References quick reference but don't grok all of it.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reference Notation
by BrowserUk (Patriarch) on Jul 16, 2004 at 06:47 UTC | |
by eric256 (Parson) on Jul 16, 2004 at 19:05 UTC | |
by BrowserUk (Patriarch) on Jul 16, 2004 at 19:16 UTC | |
by eric256 (Parson) on Jul 16, 2004 at 22:37 UTC |