SPUG: Help!!!!

mike mike206 at gmail.com
Fri Sep 30 13:47:00 PDT 2005


that's the same as @$responce

$responce is an array reference and is treated like an array (dereferenced)
when you put @ in front of it.

so you can foreach(@$responce) if you want to.

you can access each element by doing $responce->[some_integer] instead of
$responce[some_integer]

i prefer using references 99% of the time



On 9/30/05, Luis Medrano Zaldivar <lmzaldivar at gmail.com> wrote:
>
>  Gang,
>
>  I'm modifying a script were has this variable @{$responce} and I need to
> pull all the data from there but I don't recall how to do it. I will
> appreciate if you can help me with this.
>
>  Thanks,
>
> Luis
>
>
> _____________________________________________________________
> Seattle Perl Users Group Mailing List
> POST TO: spug-list at pm.org
> SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
> MEETINGS: 3rd Tuesdays, Location: Amazon.com <http://Amazon.com> Pac-Med
> WEB PAGE: http://seattleperl.org/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20050930/f438191b/attachment.html


More information about the spug-list mailing list