If STDOUT is already being used for other purposes, you could create and write to a "Named Pipe" using the linux "mkfifo" comman to create, and a standard "echo xxx > pipe/name" to send data, while th perl script reads from the pipe.
A less efficient way would be to persist data to an actual file on the file system.
What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
-Larry Wall, 1992
In reply to Re: How to persist variable created in shell script called from Perl after shell script finished execution?
by NetWallah
in thread How to persist variable created in shell script called from Perl after shell script finished execution?
by sumitanshutiwari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |