At 03:06 PM 8/21/01 +0100, Andre P. wrote:
>Hi,
>
>I am transfering a script which is calling the fatal subroutine. On the 
>new machine I am getting the following error:
>Undefined subroutine &main::fatal called at....
>
>
>This happens when writing: &fatal("blah");
>
>Wher is the fatal function located.

In the code you transferred, or some module or other file it requires in 
order to work.

There is no function 'fatal' in core Perl.  It's something made up by the 
writer of the script you're copying, or by the writer of some file that 
that script imports.

Look in the original script for a definition of fatal, or look in it for 
"use", "require", or "do" statements that reference some file not in core 
Perl, and look in that file for it.

>Do I need to include some modules??? I can't find any usefull info in the 
>manuals.
>any help much appreciated.

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to