Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-10-22 00:10 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.