>>>>> "SB" == Steve Bertrand <st...@ibctech.ca> writes:

  SB> - is "Perl Best Practises" what most of you use as general guidelines?
  SB> IOW, if I continue reading it, will you be able to better understand my
  SB> code (even though I stick with a few _small_ personal techniques)? From
  SB> what I've read so far, I'm better understanding many of Uri's past
  SB> comments a lot better

i wish i could understand my comments better! :)

remember (and damian says this in the preface), PBP is a guideline and
not a bible. you should make your own style guide and use the book for
many ideas (and i disagree with some and some are even considered obsolete!).

  SB> - after many years, I've finally made the switch from a simple editor
  SB> (ee) to Vim. A *huge* difference. In three days, I can't believe what I
  SB> can do already. In all of my files, I've changed from \t to four-space
  SB> tabs. Beyond that, I've run many of my module files into
  SB> Perl::Critic.

see, that is one idea that PBP and i agree upon. hard tabs (\t) is the
correct way to go with indents. they can be displayed with any actual
tab width by setting options in your editor. with fixed spaces you can't
do that. also you can tell the exact indent level by counting the
tabs. but is a 4 space indent 1 indent at 4 spaces or 2 at two spaces?

  SB> Is Perl::Critic recommended, and whether it is or isn't, are there any
  SB> other Best Practises you can recommend, so I can review/change my
  SB> existing code prior to moving forward again?

i don't use it but i know plenty who do and it seems to be a good
idea. i would recommend it for most perl hackers and if you want to
enforce a known set of coding styles. i strongly enforce my own style as
i edit so i don't generally need an outside agent. but then i don't like
or need syntax highlighting or use debuggers other than print. 

  SB> - what in God's name is Abigail's last name?

'' (the answer to your question)

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to