Hello,
I am curious to know if it is possible to have input data placed directly 'instream' in the program, in other words, whether it is possible to paste the data right into my program and run against it (I normally execute my scripts from within my Perl editor). I know this may seem strange, but this capability could be useful to me. I do not envision an enormous amount of data --- perhaps 50-100 lines.
I checked in the indexes in the 2 books I have on Perl and could not find any references to this concept. Also, I did a 'search' in this Forum and could not find an answer.
Any help would be appreciated. Many thanks.
I am curious to know if it is possible to have input data placed directly 'instream' in the program, in other words, whether it is possible to paste the data right into my program and run against it (I normally execute my scripts from within my Perl editor). I know this may seem strange, but this capability could be useful to me. I do not envision an enormous amount of data --- perhaps 50-100 lines.
I checked in the indexes in the 2 books I have on Perl and could not find any references to this concept. Also, I did a 'search' in this Forum and could not find an answer.
Any help would be appreciated. Many thanks.