[ic] SpecialSub admin_init missing perl objects

Peter peter at pajamian.dhs.org
Wed Feb 25 11:29:19 UTC 2009


On 02/25/2009 03:02 AM, Ton Verhagen wrote:
> Dear All,
> 
> I am still 'playing' around trying to get the admin_init SpecialSub to  
> work.
> 
> According to the docs:
> If the user has administrator privileges then this subroutine will be  
> called after 'catalog_init' (if defined), after session assignment and  
> after all of the Interchange Perl objects have been set up and  
> initialized.
> 
> Unfortunately at least the following Perl objects are not accessible  
> in an admin_init SpecialSub:
> $Session
> $Variable
> ...
> 
> ... I mean, I have not succeeded in accessing any value (in this  
> admin_init context) from those hash refs yet.
> 
> The Interchange version I am running is 5.7.1
> 
> Any ideas?

Try this:
my @skeys = keys %$Session;
my @vkeys = keys %$Variable;
Log "Session: @skeys\nVariable: @vkeys";


...then see what it dumps to the log.


Peter




More information about the interchange-users mailing list