Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How to get the key - value names from a hash

by davido (Cardinal)
on Nov 30, 2019 at 01:20 UTC ( [id://11109466]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to get the key - value names from a hash
in thread How to get the key - value names from a hash

coincidentally, those indents are there only so I can read it better

Coincidentally that's why we like indents too. Unlike Python, indents pretty much only serve to make code legible. (In Python they exist to aid legibility but also to indicate blocks of code, and scoping.)

You might have a look at Perl::Tidy. It provides a utility that can clean up your formatting for you.


Dave

  • Comment on Re^3: How to get the key - value names from a hash

Replies are listed 'Best First'.
Re^4: How to get the key - value names from a hash
by Scotmonk (Sexton) on Nov 30, 2019 at 11:17 UTC
    Thankyou
      Actually, there is some good stuff in the Camel book, but other parts are heavy going and not really needed for you.

      I can HEAVILY recommend the Perl Cookbook though :)
      http://shop.oreilly.com/product/9780596003135.do

      Cheers
      Chris

Log In?
Username:
Password:

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

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

    No recent polls found