[ic] Undefined subroutine &Vend::Dispatch::update_global_actions

Kevin Walsh kevin at cursor.biz
Thu Dec 22 11:42:49 EST 2005


> Andreas Grau wrote:
> > On 12/18/2005 01:24 PM, Andreas Grau wrote:
> > 
> > > 
> > > [interchange at mondrian ~]$ bin/expire -c standard
> > > [interchange at mondrian ~]$ bin/expire -c tools
> > > bin/expire: Configuration for catalog tools failed: Undefined
> > > subroutine &Vend::Dispatch::update_global_actions called at
> > > /home/interchange/lib/Vend/Config.pm line 4617.
> > > 
> > > 
> > > I assume this is a configuration issue, but where ? Any clues ?
> > > 
> > 
> > Bump. Any ideas about what I can do about the Undefined Subroutine
> > error ? 
> > 
> > 
> > Thanks,
> > Andreas
> 
> Do you have version information for the two files in question,
> Vend/Config.pm and Vend/Dispatch.pm (grep Revision Config.pm Dispatch.pm
> from within the $ICROOT/lib/Vend directory should show you)?  My
> Vend::Config doesn't have a line 4617, but Dispatch does define
> update_global_actions. Have you checked for the subroutine to see if it
> exists in Dispatch.pm? 
> 
I've not see this error yet, but it can probably be fixed by adding
the following line, marked with a "+", to your bin/expire script:

 use Vend::Session;
 use Vend::Config qw(get_catalog_default global_config parse_time);
+use Vend::Dispatch;
 use Vend::Util qw/errmsg/;
 use Getopt::Std;
 use vars qw/$opt_c $opt_r $opt_e $opt_f $opt_u $opt_v $opt_x/;

I have no idea where that huge line number came from.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/



More information about the interchange-users mailing list