Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Dereference an array reference

by suaveant (Parson)
on Apr 19, 2001 at 22:10 UTC ( [id://73916]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Dereference an array reference
in thread Dereference an array reference

This is all very confusing...
do you want the text from between the ()? I.E. ARRAY(0xeb960) would become 0xeb960? Because that value doesn't have much practical use.

Is this name you are looking for in the array, or is it a property of the array. Is it actual data you have put in?
                - Ant

  • Comment on Re: Re: Re: Re: Re: Re: Dereference an array reference

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Dereference an array reference
by fmogavero (Monk) on Apr 19, 2001 at 22:50 UTC
    I need the actual value contained in the array.

    the array contains the values of INT4 fields from a database. I need that INT4 field value. I know that ARRAY(XXXXXXX) is a reference. I don't care about the memory location. I want what's in the memory location.

    I want a SQL statement that reads "select * from rockstars where name = 'ringo' "

    What I am getting is a SQL statement that reads "select * from rockstars where name = ARRAY(XXXXXXX) "

      Ok... is there more than one entry in the array, or just one. if there are more than one entry in the array which one(s) do you want?
                      - Ant
        There is more than one value in the array. In my example $self->tsids contains a list or an array. Its just a bunch of values returned from the database.

        I wanted to use foreach $var($self->tsids) to iterate over the list and create a new object for each item in the list.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://73916]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-18 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found