Diagnostics
- Diagnostics print out even more of an explanation!
#!/usr/bin/perl use warnings; use diagnostics; print "bob" + 58, "\n";
- or, via command line:
$ perl -w -Mdiagnostics hello.pl
| CPU: Perl, Fall 2005 | Perl, Week 1: Intro to Perl, Scalars | #22 |
#!/usr/bin/perl use warnings; use diagnostics; print "bob" + 58, "\n";
$ perl -w -Mdiagnostics hello.pl
| Copyright © 2005 Ian Langworth |