« auto/share/dist/Data-Dump-Color/examples/example.pl
↑ Summary
ColorTheme/Data/Dump/Color/Default256.pm »
| 1 | #!/usr/bin/env perl | ||
| 2 | |||
| 3 | use Data::Dump::Color; | ||
| 4 | |||
| 5 | dd { | ||
| 6 | extended => [ | ||
| 7 | { | ||
| 8 | ip => "65.182.224.220", | ||
| 9 | ip_family => "ipv4", | ||
| 10 | mac => "00:00:00:00:00:00", | ||
| 11 | type => "static", | ||
| 12 | }, # .[0] | ||
| 13 | { | ||
| 14 | ip => "65.182.224.218", | ||
| 15 | ip_family => "ipv4", | ||
| 16 | mac => "B8:27:EB:D5:98:37", | ||
| 17 | type => "dhcp", | ||
| 18 | }, | ||
| 19 | ], # in this case, this line is not aligned with the matching "[" by DD | ||
| 20 | int => "N91-1-1-1", | ||
| 21 | }; |