Re: Dynamically created perl script

2013-03-19 Thread Brandon McCaig
On Tue, Mar 19, 2013 at 12:21:10AM -0300, Brian Fraser wrote: > You can just pipe a program into perl and it'll DWIM: > > $ echo 'print "Hello World, Perl $^V\n"' | perl You can also be more explict about the program being on STDIN: bash$ echo 'print "Hello , World!\n"' | perl - The - tells it

Re: Dynamically created perl script

2013-03-19 Thread Brock
On 2013.03.18.22.46, Ronald Weidner wrote: > 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 so

Re: Dynamically created perl script

2013-03-18 Thread Brian Fraser
On Mon, Mar 18, 2013 at 11:46 PM, Ronald Weidner wrote: > 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 o

Dynamically created perl script

2013-03-18 Thread Ronald Weidner
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