Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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.

Jeroen
"We are not alone"(FZ)


Comment on Re: ADD $tjeneste_type to $row
Download Code
(tye)Re: ADD $tjeneste_type to $row
by tye (Cardinal) 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
Node Status?
node history
Node Type: note [id://119644]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-12-18 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (48 votes), past polls