I dont want to use thread, for that i need to re-install my perl interpreter
Then use forks and forks::shared, which uses sockets for inter-process communication. Believe it, there is no direct way to share variables between child and parent, because each process has its own address space.
In reply to Re^3: Sharing in fork
by almut
in thread Sharing in fork
by ajeet@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |