Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How to dereference array of ref.s?

by Arunbear (Prior)
on May 20, 2018 at 14:49 UTC ( [id://1214942]=note: print w/replies, xml ) Need Help??


in reply to How to dereference array of ref.s?

% perl -dee Loading DB routines from perl5db.pl version 1.49_05 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. main::(-e:1): e DB<1> $q='qwer' DB<2> @a=( \$q ) DB<3> x @a 0 SCALAR(0x1158960) -> 'qwer' DB<4> p ${$a[0]} qwer
So essentially
print ${ $scalar_ref };
See also References quick reference

Replies are listed 'Best First'.
Re^2: How to dereference array of ref.s?
by nikolay (Beadle) on May 20, 2018 at 15:02 UTC
    Great!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-16 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found