Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: ADD $tjeneste_type to $row

by jeroenes (Priest)
on Oct 18, 2001 at 14:35 UTC ( #119644=note: print w/replies, xml ) Need Help??

in reply to ADD $tjeneste_type to $row

It seems you are having trouble with array refs. Read up on it in perlref,perllol,perldsc and perlreftut (link at my homenode).

In general, to add an item to an arrayref:

$array=[42]; push @$array, 666; #now $array=[42,666]
And the truth has become evil.

"We are not alone"(FZ)

Replies are listed 'Best First'.
(tye)Re: ADD $tjeneste_type to $row
by tye (Sage) on Oct 18, 2001 at 19:56 UTC

    See also References Quick Reference. It isn't a good introduction nor tutorial, but it can certainly crystalize the subject matter and make it a lot easier to remember (IMHO). It is also a nice quick reference when you don't use references very often and need to construct a new type of dereference but can't remember the rules.

            - tye (but my friends call me "Tye")

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://119644]
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-06-26 22:52 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (595 votes). Check out past polls.