"Jimmy" <nyhedsgruppe@get2net.dk> writes:
> 1)
> [root@GSM Perl]# perl test.pl
> funktioner.pl did not return a true value at test.pl line 13.
>
> På den linie står der: require "funktioner.pl";
Når man får en fejlbesked man ikke forstår kan man slå op i 'perldoc
perldiag' og se hvad der stå om meddelsen. Om denne besked står der:
%s did not return a true value
(F) A required (or used) file must return a true value to
indicate that it compiled correctly and ran its initialization
code correctly. It's traditional to end such a file with a
"1;", though any true value would do. See the require entry in
the perlfunc manpage.
--
Peter Makholm | Emacs is the only modern general-purpose
peter@makholm.net | operating system that doesn't multitask
http://hacking.dk |