in reply to Re: When do you use chop insetad of comp?
in thread When do you use chop instead of chomp?
my $val = 123; $val = chop($val) . $val; print $val; # prints '312' my $val = 'abc'; $val = chop($val) . $val; print $val; # prints 'cab'
~Particle ;Þ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: When do you use chop insetad of chomp?
by shotgunefx (Parson) on Mar 03, 2002 at 07:28 UTC |