Re: Use and Require

2004-01-31 Thread Wiggins d'Anconia
Robert wrote: Wiggins D Anconia wrote: Mallik wrote: What is the difference between Use and Require. See perldoc -f use perldoc -f require Why do you ask? /R Wow such a civilized answer. Some would say... S R Q I R E This is such a nice list. Time to revisit: http://www.catb.org

Re: Use and Require

2004-01-31 Thread Robert
Wiggins D Anconia wrote: Mallik wrote: What is the difference between Use and Require. See perldoc -f use perldoc -f require Why do you ask? /R Wow such a civilized answer. Some would say... S R Q I R E This is such a nice list. Time to revisit: http://www.catb.org/~esr/faqs/smart

Re: Use and Require

2004-01-30 Thread mcdavis941
[.. old posts snipped ..] One important difference between 'use' and 'require' has to do with allowing your program to decide whether to include it or not. You CAN put 'require' inside an if statement, and it will only be executed if the if condition is true, a

Re: Use and Require

2004-01-30 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Mallik) writes: >Dear Perl Gurus, > >What is the difference between Use and Require. use Foo; is equivalent to: BEGIN { require Foo; Foo->import; } --

Re: Use and Require

2004-01-30 Thread drieux
On Jan 29, 2004, at 9:57 AM, Mallik wrote: [..] What is the difference between Use and Require. [..] The easiest way to think about it was that once upon a time we wanted to have 'functions' that would be in 'perl libraries' - so there needed to be a directive that ind

Re: Use and Require

2004-01-29 Thread wolf blaum
For Quality purpouses, Mallik 's mail on Thursday 29 January 2004 18:57 may have been monitored or recorded as: > Dear Perl Gurus, that must be someone else > > What is the difference between Use and Require. > try perldoc -f use on your box (or www.perldoc.com): use Mo

Re: Use and Require

2004-01-29 Thread Jan Eden
myself using the books or perldoc. But definitions of perl functions can definitely be found there. - Jan Mallik wrote: >Dear Perl Gurus, > >What is the difference between Use and Require. > >Thanks, >Malliks > -- How many Microsoft engineers does it take to screw in a light

RE: Use and Require

2004-01-29 Thread Dan Muey
> > Mallik wrote: > > > > > > What is the difference between Use and Require. > > > > See > > > > perldoc -f use > > perldoc -f require > > > > Why do you ask? > > > > /R > > > > > > Wow such

Re: Use and Require

2004-01-29 Thread Wiggins d Anconia
> Mallik wrote: > > > > What is the difference between Use and Require. > > See > > perldoc -f use > perldoc -f require > > Why do you ask? > > /R > > Wow such a civilized answer. Some would say... S R Q I R E This is such a nice list.

Re: Use and Require

2004-01-29 Thread Rob Dixon
Mallik wrote: > > What is the difference between Use and Require. See perldoc -f use perldoc -f require Why do you ask? /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Use and Require

2004-01-29 Thread Mallik
Dear Perl Gurus, What is the difference between Use and Require. Thanks, Malliks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: 'use' and 'require'

2003-08-04 Thread Allison, Jason (JALLISON)
ssage- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 3:09 PM To: 'Allison, Jason (JALLISON)'; '[EMAIL PROTECTED]' Subject: RE: 'use' and 'require' Allison, Jason (JALLISON) wrote: > Hello all, > > Is there a way t

RE: 'use' and 'require'

2003-08-04 Thread Bob Showalter
Allison, Jason (JALLISON) wrote: > Hello all, > > Is there a way to 'variablize' the version for a 'use' statement. > This way, if I wanted to change version I could only change it in one > place with those changes cascading across all apps. Where would that "one place" be? Wherever that is, put

'use' and 'require'

2003-08-04 Thread Allison, Jason (JALLISON)
Hello all, Is there a way to 'variablize' the version for a 'use' statement. This way, if I wanted to change version I could only change it in one place with those changes cascading across all apps. Usage would look something like this: use $perl_version; Thanks in advance, Jason Allison Prin

RE: use and require

2003-01-23 Thread Beau E. Cox
Hi Rob - > -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 1:20 AM > To: [EMAIL PROTECTED] > Subject: Re: use and require > > > Beau E. Cox wrote: > > Hi - > > > > I thought I had a grip on th

Re: use and require

2003-01-23 Thread Rob Dixon
Beau E. Cox wrote: > Hi - > > I thought I had a grip on this, but... > > Most of my reading (Camel, perldocs, etc) suggest that > 'require Foo::Bar' should be used instead of 'use Foo::Bar' within > modules. I am in the process of building a series of > modules for a project and am having problems

use and require

2003-01-22 Thread Beau E. Cox
Hi - I thought I had a grip on this, but... Most of my reading (Camel, perldocs, etc) suggest that 'require Foo::Bar' should be used instead of 'use Foo::Bar' within modules. I am in the process of building a series of modules for a project and am having problems with 'require'; does whoever uses