This may be a little different from other, similar programs you may have seen before. One difference: It prints its source code to standard error instead of standard output.

Install the following line in the file /tmp/p:

	Illegal division by zero at /tmp/p line 1.

Now run the command with perl /tmp/p. The output is:

	Illegal division by zero at /tmp/p line 1.

Return to: Universe of Discourse main page | What's new page | Perl Paraphernalia

mjd-perl-misc@plover.com