http://qs321.pair.com?node_id=11109466


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

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