Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • Let's say you have this


    sub do_something {
        return 42;

    print "Running\n";

    and this


    require '';
    print "ok 1\n" if do_something()==42;

    Now, running produces:

    ok 1

    because the require will execute the program. So, if the program dies because @ARGV is wrong, or somesuch, your test dies as well...