That does assume you have four-arg substr available, though it predates 5.6.my $self = shift; return substr($$self, 0, length($$self), '');
In reply to Re: Swapping object variables
by chromatic
in thread Swapping object variables
by Matts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |