Chad Perrin wrote:
On Wed, Jul 05, 2006 at 11:31:55AM -0500, Kevin Viel wrote:
Mr. Shawn H. Corey wrote:
Kevin Viel wrote:
I call a perl script from SAS using a pipe. The file on which the
script acts changes. Is there a way to provide the file name to the
script using STDIN on the comma
On Wed, Jul 05, 2006 at 11:31:55AM -0500, Kevin Viel wrote:
> Mr. Shawn H. Corey wrote:
> >Kevin Viel wrote:
> >
> >>I call a perl script from SAS using a pipe. The file on which the
> >>script acts changes. Is there a way to provide the file name to the
> >>script using STDIN on the command line
Kevin Viel wrote:
> That should work, but I cannot use the keyboard to provide the STDIN.
> Instead I was hoping for something like:
>
> filename ABI pipe "perl C:/base.ps >file.ab1" ;
>^
>
> Thanks,
>
> Kevin
>
>
How about?
my $filename = <>;
c
Mr. Shawn H. Corey wrote:
Kevin Viel wrote:
I call a perl script from SAS using a pipe. The file on which the
script acts changes. Is there a way to provide the file name to the
script using STDIN on the command line? The SAS call looks like:
filename ABI pipe "perl C:/base.ps" ;
For now,
Kevin Viel wrote:
> I call a perl script from SAS using a pipe. The file on which the
> script acts changes. Is there a way to provide the file name to the
> script using STDIN on the command line? The SAS call looks like:
>
> filename ABI pipe "perl C:/base.ps" ;
>
> For now, I altered the sc
I call a perl script from SAS using a pipe. The file on which the
script acts changes. Is there a way to provide the file name to the
script using STDIN on the command line? The SAS call looks like:
filename ABI pipe "perl C:/base.ps" ;
For now, I altered the script to read a text file cont