The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::pnc - Simple netcat clone implemented in Perl.

SYNOPSIS

  # from the command line:
  perl lib/App/pnc.pm www.python.org 80


  # as a Perl module:
  use App::pnc qw(netcat4 netcat_socket);

  # connects to the given host and port and forwards everything to
  # STDOUT/STDIN:
  netcat4($host, $port);

  # forwards data between the given socket and STDOUT/STDIN:
  netcat_socket($socket);

DESCRIPTION

This is a simple netcat alike program written in Perl.

It has no dependencies besides Perl 5.005 and uses a simple file so that it can be easily copied into a remote system.

SEE ALSO

Net::OpenSSH::Gateway, IO::Socket::Forwarder.

COPYRIGHT AND LICENSE

Copyright (C) 2011, 2013 by Salvador Fandiño, <sfandino@yahoo.com<gt>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.