[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] building a library



I think you may have to end your library file with this line

1;

thus returning a true value

adam


At 5:49 PM +0100 3/17/2000, Frédéric Guillaume wrote:
>Hi all,
>
>I'm trying to build a library that contains all the common functions 
>needed for the forum i'm making. Unfortunately I failed to do it. 
>When I call the library using #require "forum_li.pl"; MacPerl 
>returns "# forum_lib.pl did not return a true value.". What's wrong 
>??
>
>I saved Forum_lib.pl in Plain Text and placed it in the "lib" 
>directory of MacPerl. In that file I simply wrote the functions as 
>in any other scripts and they work fine. What is wrong ?
>
>TIA for any advises
>
>Fred
>
>----------------------------------------------------------------------
>Frédéric Guillaume -- frederic.guillaume@etu.unil.ch -- UniL-Biologie
>
>Chemin du Reposoir 23 - CH 1007 Lausanne - tel/fax: +41 21 617 03 73 -
>----------------------------------------------------------------------
>
>==== Want to unsubscribe from this list?
>==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org