Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: dereference array

by Anonymous Monk
on Dec 03, 2013 at 13:25 UTC ( #1065416=note: print w/ replies, xml ) Need Help??


in reply to Re: dereference array
in thread dereference array

Dumper is printing each element of the array, which is an array reference ...

use strict; use warnings FATAL => 'all'; use Data::Dumper; my @p = ( 0 .. 1 ); my @q = map [ $_ ] , @p; print Dumper @p; print "\n"; print Dumper @q; print "\n";


Comment on Re^2: dereference array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2014-09-21 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (168 votes), past polls