Ignore:
Timestamp:
2000-08-20T20:42:28+12:00 (24 years ago)
Author:
sjboddie
Message:

Made a few minor adjustments to perl building code for use with
collectoraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugin.pm

    r1424 r1431  
    2929
    3030sub load_plugins {
    31     my ($plugin_list, $verbosity, $outhandle) = @_;
     31    my ($plugin_list) = shift @_;
     32    ($verbosity, $outhandle) = @_; # globals
    3233    my @plugin_objects = ();
    3334
    3435    $verbosity = 2 unless defined $verbosity;
     36    $outhandle = STDERR unless defined $outhandle;
    3537
    3638    foreach $pluginoptions (@$plugin_list) {
     
    8688    }
    8789   
    88     if (defined $processor->{'verbosity'} && $processor->{'verbosity'} >= 2) {
    89     print STDERR "WARNING - no plugin could process " .
     90    if ($verbosity >= 2) {
     91    print $outhandle "WARNING - no plugin could process " .
    9092        &util::filename_cat($base_dir,$file) . "\n";
    9193    }
Note: See TracChangeset for help on using the changeset viewer.