Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I agree. diagnostics [perl.org] and perldiag [perl.org] are both very nice in that way.

    -- dagolden [dagolden.com]

  • The situation with Perl's warnings and errors is not always so rosey. For example, with this program:

    #!/usr/bin/perl

    use strict;
    use warnings;

    $name = "Sophie";

    print "Hello $name!\n";

    We get:

    Global symbol "$name" requires explicit package name at test.pl line 6.
    Global symbol "$name" requires explicit package name at test.pl line 8.
    Execution of test.pl aborted due to compilation errors.

    After years of using use strict I got used to the fact that it means that I haven't declared the variable using a "m