Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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

Comment on Re^2: dereference array of array
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-11-29 03:49 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls