>>>>> "TA" == Ted Ashton <[EMAIL PROTECTED]> writes:

  TA> One-argument chomp():

  TA>     array:
  TA>       chomp()s each element of array using $/?

  TA> two-argument chomp(): 
  TA>     does as above, but using the second argument (which is a scalar, not a
  TA>        regex)

how do you tell the above two apart? by array do you mean only an array
variable? then you can't chomp a list of scalar values or multiple
arrays, etc.

this needs to be clarified.

but the overall flavor seems good to me. a very smart chomp. boy, just
think if simple chomp gets this smart, what the hell will happen to some
of the more complex ops? they will be damianed! :-)

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

Reply via email to