----- Original Message ----- 
From: "Bruce Williams" <bruce / codedbliss.com>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Monday, September 16, 2002 5:51 AM
Subject: Re: Requiring multiple libraries


> On Sunday 15 September 2002 05:41 pm, Dossy wrote:
> >
> > alias :old_require :require
> > def require(*args)
> >     args.each { |libname| old_require libname }
> > end
> >
> > require 'mysql', 'yaml', 'ftools'
> >
> > -- Dossy
> 
> The implementation itself is, of course, not difficult. :)
> 
> For the most part I was just wondering why it hasn't been.

One reason might be that with multiple files
it's impossible to tell which one failed.
require returns false if it fails.

Hal