Re: Having trouble using the Shell within Perl script.

2004-07-26 Thread Eric Walker
Does the output from the scripts go into a file or does the output print to the screen(standard out)? If it goes to a file then you need to open the file and read the info. If it goes to standard out you can do something like this to get the ouput. @info=`/home/my/directory/` (the backtick not t

Having trouble using the Shell within Perl script.

2004-07-26 Thread jason corbett
Hello. I would like to use the shell to run SQL scripts or PL/SQL scripts written by co-workers. These scripts are useful and I don't need to do re-work so I am trying to use them in my perl script where i can retrieve the data that results from running them into a $scalar, @array, or %hash. I c