31 |
$yy += 1900; |
$yy += 1900; |
32 |
my $outfile = $config_file; |
my $outfile = $config_file; |
33 |
$outfile =~ s/\.xml//i; |
$outfile =~ s/\.xml//i; |
34 |
|
$outfile =~ s/^.*\/([^\/]+)/$1/i; # basename |
35 |
$outfile .= "_${yy}-${mm}-${dd}_${hh}:${mm}:${ss}_$$"; |
$outfile .= "_${yy}-${mm}-${dd}_${hh}:${mm}:${ss}_$$"; |
36 |
|
|
37 |
my $rfc = new SAP::Rfc( |
my $rfc = new SAP::Rfc( |
65 |
my $first = <STDIN>; |
my $first = <STDIN>; |
66 |
push @data,$first; |
push @data,$first; |
67 |
chomp $first; |
chomp $first; |
68 |
if ($first =~ m/\s+(\d+)\w+$/) { |
$first=~s/
//g; |
69 |
|
if ($first =~ m/\s+(\d+)\w+\s*$/) { |
70 |
$lines = $1; |
$lines = $1; |
71 |
print "Processing $lines lines\n"; |
print "Processing $lines lines\n"; |
72 |
} else { |
} else { |