[ic] How to Call a GlobalSub?

Mike Heins mikeh@minivend.com
Tue, 27 Feb 2001 06:17:24 -0500


Quoting Dave Barr (dave.barr@cricinfo.com):
> Hi Sam & Mike,
> 
> Likewise I have been having problems with the GlobalSubs, I attempted
> what Mike suggested:
> 
> ==snip===============
> [perl subs=1]
> test_global_sub()
> [/perl]
> ==/snip==============
> 
> Using: IC 4.6.3 (tarball), Debian 2.2.17, Perl 5.005-03
> 
> And here is the results from from the catalog and Interchange error logs
> (absolutely identical):
> 
> ==snip===============
> 192.168.0.126 JXisUioQ:192.168.0.126 - [27/February/2001:10:03:16 +0000]
> cishop /exec/cishop/test Safe: Unable to create sub named
> "*MVSAFE::test_global_sub" at (eval 255) line 2.
> ==/snip==============
> 

Works for me, albeit on RedHat 4.6.4, 6.1 and Perl 5.6.0. It has worked
that way since MV3.00, it is part of my regression test suite.

-- 
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>

Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer