Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Cow1337killr's scratchpad

by Cow1337killr (Monk)
on Nov 25, 2013 at 17:14 UTC ( [id://1064254]=scratchpad: print w/replies, xml ) Need Help??

#!/usr/bin/perl # ref-ref-anonymous-array.pl perl ref-ref-anonymous-array.pl Pr +int what is in a reference to a reference to an anonymous array. use strict; use warnings; my $aaa = [1, 2, 3]; use Data::Dumper; print Dumper($aaa); my $bbb = \$aaa; use Data::Dumper; print Dumper($bbb); my $ccc = \$bbb; use Data::Dumper; print Dumper($ccc); foreach my $entry (@$$$ccc) { # Print what is in the anonymous array. print $entry, "\n"; } foreach my $entry (@$aaa) { # Print what is in the anonymous array. print $entry, "\n"; } __END__
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-23 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found