On Thu, Aug 13, 2009 at 20:25, Steve Bertrand<st...@ibctech.ca> wrote:
snip
> - is "Perl Best Practises" what most of you use as general guidelines?
> IOW, if I continue reading it, will you be able to better understand my
> code (even though I stick with a few _small_ personal techniques)? From
> what I've read so far, I'm better understanding many of Uri's past
> comments a lot better
snip

PBP is a collection of the folk wisdom at the time of writing.  Most
things in it are good.  Some have not stood the test of time (inside
out objects).

snip
> - after many years, I've finally made the switch from a simple editor
> (ee) to Vim. A *huge* difference. In three days, I can't believe what I
> can do already.
snip

I love Vim, but you should also look at Emacs.  You should also throw
it away in disgust, but you should at least look at it to know that
you are not one-of-those-people.

snip
> In all of my files, I've changed from \t to four-space
> tabs. Beyond that, I've run many of my module files into Perl::Critic.
snip

Spacing, like editors, is a religious issue.  I am an eight character
hard tab programmer for the same reasons Uri mentions.  Another
benefit of eight character tabs combined with an eighty character line
limit is that your indent level servers as a warning that your code is
getting too deeply nested.

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

Perl::Critic is good.  Many of its rules come straight from PBP;
however, like PBP, it is important to remember that parts of it are
just advice.

snip
> - what other Perl lists/sites can you recommend to me? fwiw, I prefer
> mail lists or newsgroups, as I don't have to bother browsing all over
> the web.
snip

[P5P][1] has some interesting things on it.  I like [Stack
Overflow][2].  Other good things are [comp.lang.perl.misc][3] and
[Perl Monks][4].  There are numerous other specialty [mailing
lists][5].  Another interesting source of information is the [Perl
Iron Man Challenge][6] (a [blogging challenge][7] put forth by
[mst][8]).

[1] : http://www.perlfoundation.org/perl5/index.cgi?perl5_porters
[2] : http://stackoverflow.com
[3] : http://groups.google.com/group/comp.lang.perl.misc/topics
[4] : http://perlmonks.org
[5] : http://www.perlfoundation.org/perl5/index.cgi?mailing_lists
[6] : http://ironman.enlightenedperl.org/
[7] : http://www.shadowcat.co.uk/blog/matt-s-trout/iron-man/
[8] : http://www.shadowcat.co.uk/blog/matt-s-trout/

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
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