>>>>> "7" == 7  <7stud.7s...@gmail.com> writes:

  7> On Sat, Jan 30, 2010 at 4:27 PM, Rob Dixon <rob.di...@gmx.com> wrote:
  >> Why are you replying to me? My post did use the three-argument form of
  >> open(). Also:
  >> 
  >> - It is bad form to use upper case letters for lexical variables
  >> 

  7> "Perl Best Practices" disagrees with you.

so? i disagree with many things in perl best practices and so does the
author himself! it is meant as a guideline of suggestions, not a bible
to be obeyed. read the preface and see for yourself.

  >> - Passing / / as the first parameter of split() will split on the first
  >> single space in the string. It is better to use ' ' instead which
  >> discards leading whitespace and splits on the next contiguous
  >> sequence of whitespace
  >> 

  7> Maybe I don't want to disregard leading whitespace?  The regex was
  7> appropriate for my example--which by the way was not about regexes.
  7> My example was meant to demonstrate how split() works in the
  7> easiest possible manner--eliminating the use of perl's global
  7> variables or anything else that might confuse a beginner.  The
  7> intricacies of how split() works can be gleaned from the docs.

and what about the issue of multiple spaces separating parts? broken is
also not handling future possibilities.

  >> - IMO it is bad manners and contrary to the spirit of the list to offer
  >> only an enigmatic handle to identify the author
  >> 

  7> I admire community activists.  Good luck with your cause.

good luck getting help or respect here.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  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