>>>>> "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
- Re: RFC 58 (v1) C<chomp()> changes. Segher Boessenkool
- Re: RFC 58 (v1) C<chomp()> changes. Ted Ashton
- Re: RFC 58 (v1) C<chomp()> changes. Larry Wall
- Re: RFC 58 (v1) C<chomp()> changes. Larry Wall
- Re: RFC 58 (v1) C<chomp()> changes. Dan Sugalski
- Re: RFC 58 (v1) C<chomp()> chang... Michael Mathews
- Re: RFC 58 (v1) C<chomp()> chang... Dan Sugalski
- Re: RFC 58 (v1) C<chomp()> chang... Michael Mathews
- Re: RFC 58 (v1) C<chomp()> chang... Uri Guttman
- Re: RFC 58 (v1) C<chomp()> chang... Ted Ashton
- Re: RFC 58 (v1) C<chomp()> chang... Uri Guttman
- Re: RFC 58 (v1) C<chomp()> chang... Ted Ashton
- Re: RFC 58 (v1) C<chomp()> chang... Mike Pastore
- Re: RFC 58 (v1) C<chomp()> chang... Mike Pastore
- Re: RFC 58 (v1) C<chomp()> chang... Michael Mathews
- Re: RFC 58 (v1) C<chomp()> chang... John Porter
- Re: RFC 58 (v1) C<chomp()> chang... Dan Sugalski
- Re: RFC 58 (v1) C<chomp()> chang... John Porter
- Re: RFC 58 (v1) C<chomp()> chang... Dan Sugalski
- Re: RFC 58 (v1) C<chomp()> chang... Johan Vromans
- Re: RFC 58 (v1) C<chomp()> chang... Dan Sugalski