Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: ADD $tjeneste_type to $row

by jeroenes (Priest)
on Oct 18, 2001 at 14:35 UTC ( [id://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.

Jeroen
"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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-23 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found