#!/usr/bin/perl -w

eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell
use strict;
use diagnostics;
use vars '$VERSION';
$VERSION = '0.15';

if (@ARGV and "--iamstuckinthepast" eq shift) {
    require CGI::Kwiki::New;
    CGI::Kwiki::New->new(@ARGV)->install;
}
else {
    print <<_EOT
The kwiki-install command is part of the old-style CGI::Kwiki
system. To install an up-to-date Kwiki, you should use the
"kwiki" command ("man kwiki" for details). If you really want
to use the kwiki-install command to install an old-style Kwiki,
use "--iamstuckinthepast" as the first argument.
_EOT
}
__END__

=head1 NAME

kwiki-install - The CGI::Kwiki installer

=head1 USAGE

    > mkdir cgi-bin/my-kwiki
    > cd cgi-bin/my-kwiki
    > kwiki-install

    Kwiki software installed! Point your browser at this location.

=head1 DESCRIPTION

CGI::Kwiki is a simple extendable wiki framework, written in Perl.

=head1 AUTHOR

Brian Ingerson <INGY@cpan.org>

=head1 COPYRIGHT

Copyright (c) 2003. Brian Ingerson. All rights reserved.

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

See http://www.perl.com/perl/misc/Artistic.html

=cut

# vim: set ft=perl:
