<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package CPANPLUS::Dist::Build::Constants;

use if $] &gt; 5.017, 'deprecate';

use strict;
use warnings;
use File::Spec;

BEGIN {

    require Exporter;
    use vars    qw[$VERSION @ISA @EXPORT];

    $VERSION    = '0.70';
    @ISA        = qw[Exporter];
    @EXPORT     = qw[ BUILD_DIR BUILD CPDB_PERL_WRAPPER];
}


use constant BUILD_DIR      =&gt; sub { return @_
                                        ? File::Spec-&gt;catdir($_[0], '_build')
                                        : '_build';
                            };
use constant BUILD          =&gt; sub { my $file = @_
                                        ? File::Spec-&gt;catfile($_[0], 'Build')
                                        : 'Build';

                                     ### on VMS, '.com' is appended when
                                     ### creating the Build file
                                     $file .= '.com' if $^O eq 'VMS';

                                     return $file;
                            };


use constant CPDB_PERL_WRAPPER   =&gt; 'use strict; BEGIN { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0); die $@ if $@; }';

1;

=head1 NAME

CPANPLUS::Dist::Build::Constants - Constants for CPANPLUS::Dist::Build

=head1 SYNOPSIS

  use CPANPLUS::Dist::Build::Constants;

=head1 DESCRIPTION

CPANPLUS::Dist::Build::Constants provides some constants required by L&lt;CPANPLUS::Dist::Build&gt;.

=head1 AUTHOR

Originally by Jos Boumans E&lt;lt&gt;kane@cpan.orgE&lt;gt&gt;.  Brought to working
condition and currently maintained by Ken Williams E&lt;lt&gt;kwilliams@cpan.orgE&lt;gt&gt;.

=head1 LICENSE

The CPAN++ interface (of which this module is a part of) is
copyright (c) 2001, 2002, 2003, 2004, 2005 Jos Boumans E&lt;lt&gt;kane@cpan.orgE&lt;gt&gt;.
All rights reserved.

This library is free software;
you may redistribute and/or modify it under the same
terms as Perl itself.

=cut

# Local variables:
# c-indentation-style: bsd
# c-basic-offset: 4
# indent-tabs-mode: nil
# End:
# vim: expandtab shiftwidth=4:
</pre></body></html>