yes that is exactly what i mean. i want to do somthing like this:
$ perl - c
print Test\n;
and now i want to get the infos of the compilation (sytax ok or errors...).
after that i want to put the next perl code into the
process, i don't want to close the process
hi,
i want to open a perl process and enter the code/files to compile via
STDIN. i know it is possible. but how?
does somebody know a tutorial or something like this which explains how
i can compile perl code via STDIN?
thx mseele
--
G H Softwareentwicklung GmbH Tel.: +49(0)7451/53706-20
Michael Seele wrote:
hi,
Hello,
i want to open a perl process and enter the code/files to compile via
STDIN. i know it is possible. but how?
does somebody know a tutorial or something like this which explains how
i can compile perl code via STDIN?
Do you mean:
perl -e 'print Hi\n;'
perl
i want to open a perl process and enter the code/files to compile via
STDIN. i know it is possible. but how?
does somebody know a tutorial or something like this which explains how
i can compile perl code via STDIN?
$ perl
print Hello from STDIN\n;
^D
Hello from STDIN
$
If the answers so