n3tw0rkadm1n1strat0r
IS-IT--Management
I am new to perl and have started this script going off of another one. I am trying to capture the output of a command and save it to a text file. Here is what I have so far:
Code:
#!C:\Perl\bin\perl.exe
open (IN, "omnidb -session -latest -detail|") ;
while (<IN>)
{
$data = $_ ;