OpenInteract2::Brick::BaseError - Base-64 encoded OI2 package 'base_error-3.02.zip' shipped with distribution
oi2_manage create_website --website_dir=/path/to/site
Are you sure you even need to be reading this? If you are just looking to install a package just follow the instructions from the SYNOPSIS.
Still here? This class holds the Base64-encoded versions of package file "base_error-3.02.zip" shipped with OpenInteract2. Once you decode them you should store them as a ZIP file and then read them in with Archive::Zip or some other utility.
A typical means to do this is:
my $brick = OpenInteract2::Brick->new( 'base_error' ); # there's only one resource in this brick... my ( $pkg_name ) = $brick->list_resources; my $pkg_info = $brick->load_resource( $pkg_name ); my $pkg_file = OpenInteract2::Util->decode_base64_and_store( \$pkg_info->{content} ); # $pkg_file now references a file on the filesystem that you can # manipulate as normal
These resources are associated with OpenInteract2 version 1.99_06.
You can grab resources individually using the names below and load_resource() and copy_resources_to(), or you can copy all the resources at once using copy_all_resources_to() -- see OpenInteract2::Brick for details.
load_resource()
copy_resources_to()
copy_all_resources_to()
Copyright (c) 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.
Chris Winters <chris@cwinters.com>
To install OpenInteract2::URL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenInteract2::URL
CPAN shell
perl -MCPAN -e shell install OpenInteract2::URL
For more information on module installation, please visit the detailed CPAN module installation guide.