Changeset 3540 for trunk/gsdl/perllib/plugins/ZIPPlug.pm
- Timestamp:
- 2002-11-18T17:43:56+13:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ZIPPlug.pm
r2795 r3540 43 43 # tar (for tar) 44 44 45 # 12/05/02 Added usage datastructure - John Thompson 46 45 47 package ZIPPlug; 46 48 … … 55 57 } 56 58 59 my $options = { 'name' => "ZIPPlug", 60 'desc' => "Plugin which handles compressed and/or archived input formats currently handled formats and file extensions are:\ngzip (.gz, .z, .tgz, .taz)\nbzip (.bz)\nbzip2 (.bz2)\nzip (.zip .jar)\ntar (.tar)\n\nThis plugin relies on the following utilities being present (if trying to process the corresponding formats):\ngunzip (for gzip)\nbunzip (for bzip)\nbunzip2 \nunzip (for zip)\ntar (for tar)", 61 'inherits' => "yes" }; 62 57 63 sub new { 58 64 my ($class) = @_; 59 65 my $self = new BasPlug ("ZIPPlug", @_); 66 67 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 68 my $option_list = $self->{'option_list'}; 69 push( @{$option_list}, $options ); 60 70 61 71 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.