in reply to Perl Module Not Working In Crontab

Thank you all for your kind generosity and help - I have made the code a bit clearer and ONLY add the bits that are not working - basically the Perl module Archive::Extract works manually but will not work via crontab - there has been mention of environmental variables but I am not sure what I need to do here - any further suggestions with the simplified code would be great! thanks to you all-