At 06:21 AM 11/5/2005, Vishal Chavan wrote:
>Finally, Wanted your opinion if its better to use Require or to load a 
>library... Is there any other benefit between them when compared head to head?

Load just loads a library file.

Require will load a library
1. if it hasn't already been loaded
2. located anywhere in the load path

In general, people find it more useful to use require for libraries.

Bret

_____________________
  Bret Pettichord
  www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to