On Tue, Apr 28, 2009 at 08:01, Dermot <paik...@googlemail.com> wrote:
>> If no import list is supplied, all possible restrictions are assumed, that 
>> why it's working fine
>
>
> Thanx all. I suspected as much. It's not a practise I'd use
> personally.  I'm sorry, I don't understand what you mean by "import
> list" here.
> Dp.
snip

Without being able to see the email that came from I assume he/she is
talking about the list you can pass to a module when you use it:

use strict qw/refs subs vars/;

The use function can be simulated like this:

BEGIN {
    require strict;
    strict->import("refs", "subs", "vars");
}

So you can see that the list you pass in to use is the same one that
gets passed to strict's import function.


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to