NAME

OpenInteract2::Manage::Website::UpdatePackageFromWebsite - Managment task

SYNOPSIS

 #!/usr/bin/perl
 
 use strict;
 use OpenInteract2::Manage;
 
 my $website_dir = '/home/httpd/mysite';
 my $package_dir = '/home/superman/work/mypackage';
 my $package     = 'mypackage';
 my $changes     = 'More changes to templates';
 my $task = OpenInteract2::Manage->new(
     'update_package', { website_dir => $website_dir,
                         package_dir => $package_dir,
                         package     => $package,
                         changelog   => $changes } );
 my @status = $task->execute;
 foreach my $s ( @status ) {
     my $ok_label      = ( $s->{is_ok} eq 'yes' )
                           ? 'OK' : 'NOT OK';
     my $default_label = ( $s->{is_default} eq 'yes' )
                           ? ' (default) ' : '';
     print "Status OK?  $s->{is_ok}\n",
           "$s->{message}\n",
           "($s->{updated} updated) ($s->{removed} removed) ",
           "($s->{skipped} skipped)\n";
 }

REQUIRED OPTIONS

In addition to website_dir required by all OpenInteract2::Manage::Website tasks, we also require:

STATUS INFORMATION

In addition to the standard entries Each status hashref includes:

COPYRIGHT

Copyright (C) 2004-2005 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>

Generated from the OpenInteract 1.99_06 source.