------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- ----- Original Message ----- From: "Kee Hinckley" <[EMAIL PROTECTED]> To: "goEbusiness.com Mail Lists" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, March 18, 2001 5:05 PM Subject: Re: Debugging perl modules used by Embperl page > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > At 11:51 AM -0500 3/17/01, goEbusiness.com Mail Lists wrote: > >You could just use "do" instead of "use". > > No, the semantics are different from "use". I haven't looked at the > specifics, but it definitely doesn't work to use replace use with do. I have written some words about use, require and do in the FAQs (see http://perl.apache.org/embperl/Faq.pod.2.html#When_I_use_a_module_inside_a_E mb) Basicly do executes a script at runtime, while use loads a modules and optionaly imports globals vars at compile time. Also use only searchs the @INC paths, while do requires a filename Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
