I was wondering what the scope of perlvars (ie. $! and $?) are across
modules?

Here's my situation:

In module:
open file || return -1;

In script:
Can I use $! here? and will it contain the reason open didn't open (if it
didn't) in the module?
Would I need to export the $! from the module?


Nikola Janceski

How I wish that somewhere there existed an island for those who are wise and
of good will.
-- Albert Einstein (1879-1955) 


----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


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

Reply via email to