File: new-from-dev.pl

package info (click to toggle)
libnet-frame-device-perl 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 164 kB
  • ctags: 30
  • sloc: perl: 539; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl
use strict;
use warnings;

my $dev = shift || die("Specify network interface\n");

use Net::Frame::Device;

my $d = Net::Frame::Device->new(dev => $dev);
print $d->cgDumper."\n";