in reply to editing gifs with Perl

I'd say use PerlMagick (Image Magic and it's perl module ) if you are on a standard platform ( not a zSeries for example , on wich I never was able to install it properly)