Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: dereference array of array

by moadeep (Novice)
on Jan 21, 2013 at 11:41 UTC ( #1014427=note: print w/replies, xml ) Need Help??

in reply to Re: dereference array of array
in thread dereference array of array

Thanks Rolf, Dumper does indeed give me the numbers I wish. However the format -
$VAR1 = [ '11', '40', '13', '11', '3', '4' ];
is not ideal. I really need it in the form 11 40 13 11 3 4 so I can pass it into a subroutine for creating a latex table. Any ideas


@{$results[0]} worked thanks

Replies are listed 'Best First'.
Re^3: dereference array of array
by LanX (Chancellor) on Jan 21, 2013 at 11:46 UTC
    see all examples given in my reply.

    you can also manipulate $, for simple prints and $" for double-quoted expressions or just join.

    plz use <code> and <p> tags.


    PLZ! when updating a post don't simply delete what you wrote before!!!

    Cheers Rolf

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014427]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-07-22 12:57 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (338 votes). Check out past polls.