This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
icmp tweak for IO::Socket
[perl5.git] / eg / README
CommitLineData
449aadca
LW
1Although supplied with the perl package, the perl scripts in this eg
2directory and its subdirectories are placed in the public domain, and
3you may do anything with them that you wish.
4
378cc40b
LW
5This stuff is supplied on an as-is basis--little attempt has been made to make
6any of it portable. It's mostly here to give you an idea of what perl code
7looks like, and what tricks and idioms are used.
8
9System administrators responsible for many computers will enjoy the items
10down in the g directory very much. The scan directory contains the beginnings
11of a system to check on and report various kinds of anomalies.
12
13If you machine doesn't support #!, the first thing you'll want to do is
14replace the #! with a couple of lines that look like this:
15
5f05dabc 16 eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
378cc40b
LW
17 if $running_under_some_shell;
18
19being sure to include any flags that were on the #! line. A supplied script
20called "nih" will translate perl scripts in place for you:
21
22 nih g/g??