[ic] Do I can't use NEW???
Stefan Hornburg
racke@linuxia.de
17 Nov 2000 14:36:08 +0100
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 <---