in module i access this variable by using the use vars qw($s); But In case of Response module this "s" variable is not access.
In which module? If it's module, say, Module, you can access the $s variable from within module Response as $Module::s. No need for typeglobs.
Where i lack something
Read this node and follow the links.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: How to share a varible of main program to different module???
by shmem
in thread How to share a varible of main program to different module???
by samirpatry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |