#!/bin/sh

SPELL_LIST=""

	for  spell  in  $(gaze  section  perl-cpan)
	do
	    if [ $spell != perl ]
	    then 
		gaze installed  $spell  &&  SPELL_LIST="$SPELL_LIST $spell"
	    fi
	done
	
	cast -c $SPELL_LIST

	cat << EOF

	if all spells have successfully been build, you can now
	remove the $CURRENT_VERSION libraries, unless you've been installing
	perl modules without using spells (which of course you haven't ;-). 
	It is a good idea to update those too and remove the $CURRENT_VERSION
	libs.
EOF

