#!/usr/bin/perl use strict; use warnings; =pod =head1 DESCRIPTION This script can have 2 parameters. The name or address of a machine and a command. It will execute the command on the given machine and print the output to the screen. =cut print "Here comes the name of the script ... $0\n"; __END__ $ perl test.pl Here comes the name of the script ... test.pl