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
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
[.. 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
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;
}
--
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
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
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
> > Mallik wrote:
> > >
> > > What is the difference between Use and Require.
> >
> > See
> >
> > perldoc -f use
> > perldoc -f require
> >
> > Why do you ask?
> >
> > /R
> >
> >
>
> Wow such
> 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.
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>
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>
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
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
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
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
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
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
17 matches
Mail list logo