File: array.pl

package info (click to toggle)
libnet-finger-perl 1.06-6.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 48 kB
  • ctags: 4
  • sloc: perl: 74; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl
# 
# Simple example. Finger a certain Host and put its response
# into a list, then Dump this list with Data::Dumper.
#
# See: http://search.cpan.org/~fimm/Net-Finger-1.06/Finger.pm
# for more examples.
#
use Net::Finger;
use Data::Dumper;
@lines = finger('user@192.168.1.1', 1);
print Dumper(@lines);