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 (permalink)  
Old 07-15-2007, 06:17 PM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
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
Sponsored Links
  #2 (permalink)  
Old 07-30-2007, 06:39 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo 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.
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
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 On
Pingbacks are On
Refbacks are On


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
What is the use of load and require in Ruby? vadivelanvaidyanathan Ruby 1 07-27-2007 10:37 PM
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 12:23 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0