Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

Update

@{$results[0]} worked thanks


Comment on Re^2: dereference array of array
Download Code
Re^3: dereference array of array
by LanX (Canon) 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.

    UPDATE

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

    Cheers Rolf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-09-30 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (378 votes), past polls