On 11-07-18 07:29 AM, Irfan Sayed wrote:
if i do in perl like this :
print "Environment is : $ENV{'build'}\n";
then it does not pint anything
can someone please suggest ??
In Windows, there is only one environment. That means if a child
process changes it, its parent can access the change.
In Linux, each process has its own environment. The child process
inherits its parent's at the time of the fork and each is independent
thereafter.
If you want two processes to communicate, you need techniques called
Inter-Process Communication (IPC). See `perldoc perlipc` for details.
--
Just my 0.00000002 million dollars worth,
Shawn
Confusion is the first step of understanding.
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/