Help for this page

Select Code to Download


  1. or download this
        my $bar = baz();
        if ($@) {
            die "baz failed!\n";
        }
    
  2. or download this
        my $bar = baz();
        if ($@) {
            die "baz failed: $@\n";
        }   #              ^^^^
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    sub settle {
        # ...
    }
    
  4. or download this
    Deal failed: Can't make a deal: No collateral
    
  5. or download this
    Use of uninitialized value in unlink at - line 7.
        (in cleanup) Failed to free resources: No such file or directory
    Deal failed: Can't make a deal: No collateral