On Sun, Jan 06, 2002 at 02:17:50PM +0330, nafiseh saberi wrote:
> what is the difference between
> "use" , "import" , "require".
See 'perldoc -q use require'. 'import' is not a perl keyword, and I'm
guessing that you got it from looking at Python source somewhere. It
does have a use in perl, b
On Jan 5, nafiseh saberi said:
>what is the difference between
>"use" , "import" , "require".
The code:
use Module qw( this $that );
is the same as:
# BEGIN { } happens at compile-time
BEGIN {
require Module;
Module->import(qw( this $that ));
}
Read 'perldoc -q require' for