- Timestamp:
- Jul 18, 2018, 12:36:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ddt/ddt
r296 r297 2270 2270 2271 2271 my $tb_computer = Text::Table->new( 2272 {align => 'left', align_title => 'left', title => 'Hostname.DomainSet'}, 2273 {align => 'left', align_title => 'left', title => 'IPv4-Address'}, 2274 {align => 'center', align_title => 'center', title => 'MAC-Address'}, 2275 {align => 'right', align_title => 'right', title => 'Type'}, 2276 {align => 'right', align_title => 'right', title => 'Status'}, 2277 {align => 'left', align_title => 'left', title => 'Date'}, 2278 {align => 'left', align_title => 'left', title => 'Comment'}, 2272 {align => 'left', align_title => 'left', title => 'Hostname.DomainSet'}, 2273 {is_sep => 1, body => ' '}, 2274 {align => 'left', align_title => 'left', title => 'IPv4-Address'}, 2275 {is_sep => 1, body => ' '}, 2276 {align => 'center', align_title => 'center', title => 'MAC-Address'}, 2277 {is_sep => 1, body => ' '}, 2278 {align => 'right', align_title => 'right', title => 'Type'}, 2279 {align => 'right', align_title => 'right', title => 'Status'}, 2280 {is_sep => 1, body => ' '}, 2281 {align => 'left', align_title => 'left', title => 'Date'}, 2282 {align => 'left', align_title => 'left', title => 'Comment'}, 2279 2283 ); 2280 2281 $tb_computer->add(2282 2284 2283 2285 #printf "%-30s %-20s %17s %5s %7s %-10s %s\n", … … 2338 2340 } 2339 2341 2340 print "\n# *** List of pool computers in the domain set: $domainset_current ***\n"; 2341 print $tb_computer->title(); 2342 print $tb_computer->rule('-'); 2343 print $tb_computer->body(); 2342 if ($tb->body_height) { 2343 print "\n# *** List of pool computers in the domain set: $domainset_current ***\n"; 2344 print $tb_computer->title(); 2345 print $tb_computer->rule('-'); 2346 print $tb_computer->body(); 2347 } 2344 2348 } 2345 2349
Note: See TracChangeset
for help on using the changeset viewer.