shift only removes the first item of the array, even if called in array context. If you are passing only that array, you should 'capture' it with:
my @pictures = @_;
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain