[ic] Using GlobalSubs

delionsweb - minivend minivend@delionsweb.net
Fri, 03 Nov 2000 15:37:09 -0500


I don't know in which situation you are getting which error, but ...
my $0.02 ...

Perl looks for &MVSAFE::domlook and &Vend::Interpolate::domlook 
respectively soooo ....
EITHER
package MVSAFE ;
in the source of domlook
OR
[perl sub] main::domlook [/perl]
OR
something in the direction of placing or referencing your sub in a KNOWN 
namespace???



At 01:47 PM 11/3/00, you wrote:
>Hi all,
>
>     I am trying to use a GlobalSub I have written with Interchange 4.6.
>Unfortunately, I can't seem to get it to run outside of the Safe.pm
>container.  I have tried using [perl sub] domlook [/perl], [perl global=1
>subs=1] .... domlook($domain) .... [/perl] and every variation in between.
>All I have gotten is various error messages, including:
>
>Safe: Undefined subroutine &MVSAFE::domlook called at (eval 305) line 2
>Undefined subroutine &Vend::Interpolate::domlook called at (eval 302) line
>5.
>
>Please help, I am starting to rip hair out by the handfuls over here.
>
>Thanks,
>Matthew Schick
>mschick@brightredproductions.com
>Bright Red Productions, LLC
>"Web Design With a Pulse"
>www.brightredproductions.com
>
>Yesterday it work'd.
>Today it is not working.
>Windows is like that.
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@www.minivend.com
>http://www.minivend.com/mailman/listinfo/interchange-users