From: Thomas Rast Date: Mon, 20 Jul 2009 11:41:59 GMT Subject: Re: [PATCH] Add git svn gc command Message-ID: <200907201342.01912.trast@student.ethz.ch> In-Reply-To: <9b18b3110907200202kbb78c8dm43e0451900e4f2fb@mail.gmail.com> demerphq wrote: > > my $can_compress= eval "require Compress::Zlib; 1"; Wouldn't my $can_compress = eval { require Compress::Zlib; 1 }; be better on the grounds that this will catch compilation errors in the eval'd statement at compilation (of the main program) time? -- Thomas Rast trast@{inf,student}.ethz.ch