Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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";

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 lurking in the Monastery: (8)
As of 2016-06-25 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.