Fixed #1: Can't call method "write" on unblessed reference at /usr/local/share/perl/5.14.2/App/Ch/Repository.pm line 35.