Help with indentation

2011-04-22 Thread Tiago Hori
Hi List, I have been trying to follow one of code indentation guidelines from wikipedia, but I have some questions that I can find answers, I would appreciate if someone could help me or point me towards better references. So here is something I have been working on: ---

Re: Help with indentation

2011-04-22 Thread Jim Gibson
At 10:38 PM -0230 4/22/11, Tiago Hori wrote: Hi List, I have been trying to follow one of code indentation guidelines from wikipedia, but I have some questions that I can find answers, I would appreciate if someone could help me or point me towards better references. So here is something I hav

Re: Help with indentation

2011-04-23 Thread Dermot
>> >> I have been trying to follow one of code indentation guidelines from >> wikipedia, but I have some questions that I can find answers, I would >> appreciate if someone could help me or point me towards better references. >> > No. The indentation should provide a visual clue as to where the loo

Re: Help with indentation

2011-04-23 Thread Brian Fraser
On Fri, Apr 22, 2011 at 10:08 PM, Tiago Hori wrote: > Hi List, > > Howdy. Before we start, instead of using wikipedia, if you can get your hands on it and feel like spending a few hours of your time, Perl Best Practices[0] is the way to go. However, assuming that you are a busy person (and, as a

Re: Help with indentation

2011-04-24 Thread Tiago Hori
Hi Brian and List > > http://ideone.com/kk0OI > I was studying the references about regular expression you pointed me to on the link above and I just wanted make sure I understand properly. You used the \Q just in case there is a metacharacter in one of the names that gets stored in $_? Could

Re: Help with indentation

2011-04-24 Thread Brian Fraser
On Sun, Apr 24, 2011 at 5:42 PM, Tiago Hori wrote: > Hi Brian and List > > > http://ideone.com/kk0OI > > I was studying the references about regular expression you pointed me to on > the link above and I just wanted make sure I understand properly. You used > the \Q just in case there is a metac

Re: Help with indentation

2011-04-24 Thread Uri Guttman
> "BF" == Brian Fraser writes: BF> http://ideone.com/YGq85 a small request. you can post link to pastebots but also paste the code in emails here. i can reply and quote code better staying in my emailer than going back and forth to a web page. emacs does a fine job of marking off quoted em

Re: Help with indentation

2011-04-24 Thread Brian Fraser
On Sun, Apr 24, 2011 at 11:18 PM, Uri Guttman wrote: > a small request. you can post link to pastebots but also paste the code > in emails here. i can reply and quote code better staying in my emailer > than going back and forth to a web page. emacs does a fine job of > marking off quoted emails

Re: Help with indentation

2011-04-25 Thread Shlomi Fish
Hi Uri, On Monday 25 Apr 2011 05:18:21 Uri Guttman wrote: > > "BF" == Brian Fraser writes: > BF> http://ideone.com/YGq85 > > a small request. you can post link to pastebots but also paste the code > in emails here. i can reply and quote code better staying in my emailer > than going back a