> Hi, > > I wonder if some of you are in the same situation like me: I am the > only > Perl programmer in the company, at least trying hard to get along :-), > but I have nobody to ask for help. So I spend hours and hours with my > book and the internet when I'm stuck. Luckily, so far I almost always > accomplished what I wanted to do, but I don't know whether it is > "good" > programming - the scripts work, but if I compare them to some code > that > comes from the experienced guys here on the list they just look ... > uhm, > different ... How do you improve your scripts and in general your > coding > style without having someone to alert/advise you what could be > improved?
I always run my code through perltidy. It makes it look real professional (even if it isn't), as well as making it easier to read. Reading perl code in an editor that parses then highlights and colors also improves readability and presentation. Also I bought Perl Best Practices and in conjunction with perlcritic, it tends to standardize your style. However at one stage I became over zealous about meeting the criteria and after a while decided that some of the complaints issued weren't really worth worrying about. I hardly look at the book these days. -- Owen -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/