Hey guys, I'm running Perl on IIS 3 (yeah, I know, it sucks, I need Solaris), and I'm having problems with a program that calls up subscripts like this:
my $mainerror=system("type test1_main.dat | main_input.pl"
;
my $drivererror=system("type test1_drivers.dat | driver_input.pl"
;
my $vehicleerror=system("type test1_vehicles.dat | vehicle_input.pl"
;
In the orignal version of this, written for Unix, the cat command was used, which I replaced with type. I need to be able to pipe the contents of a text file to a script. Anyone know what I'm doing wrong?
Thanks
-Foxfyre
my $mainerror=system("type test1_main.dat | main_input.pl"
my $drivererror=system("type test1_drivers.dat | driver_input.pl"
my $vehicleerror=system("type test1_vehicles.dat | vehicle_input.pl"
In the orignal version of this, written for Unix, the cat command was used, which I replaced with type. I need to be able to pipe the contents of a text file to a script. Anyone know what I'm doing wrong?
Thanks
-Foxfyre