Re: How do I access a hash from an extention/module?
| From: | Eric Veldhuyzen | Date: | Thu, 06 Jun 2002 14:02:08 +0000 |
| Subject: | Re: How do I access a hash from an extention/module? | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84935@lists.php.net to get a copy of this message | ||
On Thu, Jun 06, 2002 at 09:36:29AM -0400, fabwash wrote:
> > It would be nice it there was some REAL documentation about the API...
> >
> Amen to that!!!.. I spent exactely 5 1/2 hours yesterday trying to create a
> resource that is a structure which contains a set of pointers to an array of
> objects (yeah it's complicated but it's great when it works !), then later
> retrieve the array, walk throught it, get the objects back from the hash,
> and do something with them.
Well, I think you might be able to help me then. I want to retrieve an
array and walk throught it. Should be pretty simple, right?
> I get great help from people here on specific issues, but i'd rather read
> some documentation before asking stupid questions.
Exactly.
--
#!perl # Life ain't fair, but root passwords help.
# Eric Veldhuyzen eric@terra.telemediair.nl
$!=$;=$_+(++$_);($:,$~,$/,$^,$*,$@)=$!=~ # Perl Monger
/.(.)...(.)(.)....(.)..(.)..(.)/;
$^$~$/$: $^$*$@$~ $_>&$;