$#array -= 5;
Liz
Update:
Although I would probably use Abigail-II's way, but without the fat comma:
splice @a,-5;
In reply to Re: Re: using pop a lot
by liz
in thread using pop a lot
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |