IT Community - Software Programming, Web Development and Technical Support

Explain the difference between use and require.

This is a discussion on Explain the difference between use and require. within the Perl forums, part of the Software Development category; Explain the difference between use and require?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Perl

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-15-2007, 06:17 PM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 801
vadivelanvaidyanathan is on a distinguished road
Question Explain the difference between use and require.

Explain the difference between use and require?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-30-2007, 06:39 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Re: Explain the difference between use and require.

Use :

1. The method is used only for the modules(only to include .pm type file)

2. The included objects are varified at the time of compilation.

3. No Need to give file extension.

Require:

1. The method is used for both libraries and modules.

2. The included objects are varified at the run time.

3. Need to give file Extension.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference between require, include and include_once? amansundar PHP Programming 3 11-28-2007 08:47 PM
Explain the difference between an explicit and an implicit lock. ragavraj Database Support 0 10-29-2007 12:14 PM
What is the difference between require_once(), require(), include()? devarajan.v PHP Programming 2 07-30-2007 04:57 AM
require_once(), require(), include() sivakumar PHP Programming 1 07-16-2007 06:39 AM
PHP: include & require, what is different? montyauto PHP Programming 2 06-30-2007 12:17 AM


All times are GMT -7. The time now is 08:59 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0