$string = "abc"; print chop $string; # prints 'c' print $string; # prints 'ab'
/\/\averick
perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"
In reply to Re: Re: When do you use chop insetad of comp?
by maverick
in thread When do you use chop instead of chomp?
by Jemts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |