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, but as a special subroutine name; described in
perldoc -f import.  'import Some::Module' is not valid perl code.

Hope this helps,

- ~C.
-- 
$a="printf.net"; Chris Ball | chris@void.$a | www.$a | finger: chris@$a
As to luck, there's the old miners' proverb: Gold is where you find it.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to