13 |
my %smb_share_name; |
my %smb_share_name; |
14 |
|
|
15 |
foreach my $sheet (@{$oBook->{Worksheet}}) { |
foreach my $sheet (@{$oBook->{Worksheet}}) { |
16 |
if ($sheet->{Name} !~ m/Instruments/i) { |
if ($sheet->{Name} !~ m/(Instruments|sheet1)/i) { |
17 |
# print "# skipped sheet ",$sheet->{Name},"\n"; |
print "# skipped sheet ",$sheet->{Name},"\n"; |
18 |
next; |
next; |
19 |
} |
} |
20 |
for(my $i = $sheet->{MinRow} ; defined $sheet->{MaxRow} && $i <= $sheet->{MaxRow} ; $i++) { |
for(my $i = $sheet->{MinRow} ; defined $sheet->{MaxRow} && $i <= $sheet->{MaxRow} ; $i++) { |
54 |
|
|
55 |
open(O, "> conf/${conf_name}.pl") || die "can't open conf/${conf_name}.pl: $!"; |
open(O, "> conf/${conf_name}.pl") || die "can't open conf/${conf_name}.pl: $!"; |
56 |
|
|
57 |
if ($os =~ m#(98|95)#) { |
if ($os =~ m#(98|95|9x)#i) { |
58 |
|
|
59 |
print "$ip\tsmb://${share}\n"; |
print "$ip\tsmb://${share}\n"; |
60 |
|
|