Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Is there a cleaner way to write this code below, which includes derferencing references, that themselves have to be dereferenced?

by GrandFather (Saint)
on May 05, 2022 at 21:58 UTC ( [id://11143607]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print "\n";
    @hash{@keys} = @hash{reverse @keys};
    print "$_ => $hash{$_}  " for @keys;
    
  2. or download this
    one => 1  two => 2  three => 3  
    one => 3  two => 2  three => 1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-24 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found