in reply to Re: When do you use chop insetad of comp?
in thread When do you use chop instead of chomp?
$string = "abc"; print chop $string; # prints 'c' print $string; # prints 'ab'
/\/\averick
perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: When do you use chop insetad of comp?
by webadept (Pilgrim) on Mar 02, 2002 at 21:20 UTC |