Re: Python or Perl for a Debian maintainance project?
On Thu, Feb 19, 2004 at 11:25:29AM -0600, Chad Walstrom wrote:
> On Thu, Feb 19, 2004 at 12:10:18PM -0500, Joey Hess wrote:
> > > Now try the same thing in Perl.
> >
> > $f=create_a_file($name);
> > eval {
> > do_something_insanely_complicated($f);
> > };
> > if ($@) {
> > unlink $name;
> > die $@;
> > }
>
> <rant>
> ACK! What's with all the $@ stuff?! This is my biggest pet peeve with
> Perl. Syntactic sugar.
use English;
do_stuff_with_this_instead($EVAL_ERROR);
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: