I need to execute a Perl program that is about 1000 lines of code long. The Perl program is dynamically generated by another program. I would like to execute the Perl program without first creating the Perl source code file. In other words,' a solution that behaves like the source code for the Perl script was piped in instead of being opened from a file. This is a Linux system and the solution doesn't need to be portable to Windows.
Has this been done? Any ideas or examples?