Re: USE IMPORT REQUIRE

2002-01-06 Thread Chris Ball
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

Re: USE IMPORT REQUIRE

2002-01-05 Thread Jeff 'japhy' Pinyan
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