On Aug 13, Bob Showalter said: >Jeff 'japhy' Pinyan wrote: >> On Aug 12, Dan Muey said: >> >> > Perhaps it'd be better to use my $var = ''; and then export the >> > variable on request instead, that way it will work with 5.005_03. >> >> I don't mean to start up a fire-storm, but it IS technically possible >> to export lexically scoped variables. > >You can do it by defining your own sub import, but is there a way using just >Exporter functionality?
Definitely not. The Exporter functions can't see your module's lexical scope. There's talk that Perl 6 will have a %MY:: hash holding the parent's lexical scope (which would be REALLY WEIRD, but useful in this case). -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]