[Mpls-pm] Dereferencing complicated things...

Dave Dash dd at davedash.com
Tue Dec 6 19:41:42 PST 2005


Actually correction that should be

%a = {b => [1,2,3]}

On 12/6/05, Dave Dash <dd at davedash.com> wrote:
>
> Let's say I have a hash:
>
> $a = {b=>(1,2,3)}
>
> and
>
> $b = \$a;
>
> Is there a way given $b->{b} to dereference that into the array that is
> (1,2,3) ?
>
> Currently I end up doing a lot of annoying steps, but it'd be nice if
> something like @($b->{b}) would work...
>
> --
> Dave Dash
> 612.670.0621
> 3555 Fremont Ave S, Mpls, MN 55408
> http://citybikemap.com/
> http://davedash.com/
> AIM: davesdash




--
Dave Dash
612.670.0621
3555 Fremont Ave S, Mpls, MN 55408
http://citybikemap.com/
http://davedash.com/
AIM: davesdash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/mpls-pm/attachments/20051207/b0f04c84/attachment.html


More information about the Mpls-pm mailing list