note 7536 deleted from Chop by danbeck
| From: | danbeck@php.net | Date: | Fri, 25 Aug 2000 16:58:11 +0000 |
| Subject: | note 7536 deleted from Chop by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3247@lists.php.net to get a copy of this message | ||
And, this is obvious if you bothered to read the syntax above, but I didn't, and other perl
programmers might not either.
You can't use
chop ($string);
and expect it to assign it back to $string, that doesn't work.
You have to do this
$string = chop ($string);
So PERL programmers take note :)