Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by davido (Cardinal)
on Nov 30, 2019 at 01:20 UTC ( #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
Node Status?
node history
Node Type: note [id://11109466]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2020-05-30 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (171 votes). Check out past polls.

    Notices?