Octavian Rasnita wrote:
Does anyone know how can I use in a perl module a certain variable
defined in the main program?

That's a pure Perl question, that would have been better suited at the [EMAIL PROTECTED] list.


Provided that it is a global variable, you can always have the module
use it via its fully qualified name: $main::myvar

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to