NAME
OpenInteract2::Manage::Website::RemovePackage - Remove a package from a website
SYNOPSIS
#!/usr/bin/perl
use strict;
use OpenInteract2::Manage;
my $package = 'mypkg';
my $website_dir = '/home/httpd/testsite';
my $task = OpenInteract2::Manage->new(
'remove_package', { package => $package,
website_dir => $website_dir } );
my ( $status ) = $task->execute;
print "Action: $s->{action}\n",
"Status OK? $s->{is_ok}\n",
"$s->{message}\n";
}
DESCRIPTION
Removes one or more packages from a website. This does not delete the files used by the package but instead just deletes it from the repository. Packages that aren't in the repository are dead to the website.
STATUS MESSAGES
No additional information in the returned status messages.
REQUIRED OPTIONS
In addition to 'website_dir' you must define:
COPYRIGHT
Copyright (c) 2002-2004 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Chris Winters <chris@cwinters.com>