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?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Explain the difference between use and require? |
|
#2
| |||
| |||
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |
Our Partners |