RE: [OT?] Win32 permissions puzzler

2003-02-20 Thread Alessandro Forghieri
Greetings. I am afraid this is rapidly becoming less than relevant, however.. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] [...] You have to declare variables as globals before using them. Agreed Even the imported ones. That's a pure perl issue. Please proceed

Re: [OT?] Win32 permissions puzzler

2003-02-20 Thread Stas Bekman
Alessandro Forghieri wrote: This is a bit of a surprise the following, in fact, runs just fine: --Foo.pm-- package Foo; use strict; use warnings; require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = ( qw( $foo ) ); our @EXPORT = qw(); our $VERSION = '0.01'; our $foo=1; 1;

Re: [OT?] Win32 permissions puzzler

2003-02-19 Thread Alessandro Forghieri
Greetings. Alessandro Forghieri wrote: [...] use Bar qw($foo); if($foo) { ... Global symbol $foo requires explicit package name at use vars qw($foo); use Bar qw($foo); [...] Not sure I am following you here. $foo is in the @EXPORT_OK list of module Bar, which is, in turn,an Exporter. It

Re: [OT?] Win32 permissions puzzler

2003-02-19 Thread Stas Bekman
Alessandro Forghieri wrote: Alessandro Forghieri wrote: [...] use Bar qw($foo); if($foo) { ... Global symbol $foo requires explicit package name at use vars qw($foo); use Bar qw($foo); [...] Not sure I am following you here. $foo is in the @EXPORT_OK list of module Bar, which is, in

Re: [OT?] Win32 permissions puzzler

2003-02-13 Thread Stas Bekman
Alessandro Forghieri wrote: [...] use Bar qw($foo); if($foo) { ... Global symbol $foo requires explicit package name at use vars qw($foo); use Bar qw($foo); or with 5.6+ our $foo; use Bar qw($foo); See: