Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [ic] Do I can't use NEW???



marxy@indoors.kiev.ua writes:

> Hello!
> 
> Anybody knows what is the problem?
> I use UserTag to create some stub procedure.
> ============================================================
> UserTag parse_tpl Order output
> UserTag parse_tpl Routine <<EOR
> sub {
> use FileHandle;
>     my $output=shift;
>     my $fh =  new FileHandle $ouput;
>     close $fh;
> }
> EOR
> 
> ============================================================
> When IC run it compile this Tag ok but when I try to use it
> there is error occured:
> 
> Safe: Can't locate object method "new" via package "FileHandle" at
> (eval 96) line 3.
> 
> What does it mean?

You are not allowed to do this in a catalog UserTag
(see UserTag, AllowGlobal, SafeUntrap and other in
the doc).

Ciao
        Racke

-- 
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <--- 

_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: