From owner-freebsd-questions Wed Oct 17 13:24:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id AA01B37B401 for ; Wed, 17 Oct 2001 13:24:16 -0700 (PDT) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id f9HKOH504180; Wed, 17 Oct 2001 16:24:17 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 17 Oct 2001 16:24:17 -0400 (EDT) From: Joe Clarke To: Andre` Niel Cameron Cc: free bsd Subject: Re: Perl Question In-Reply-To: <024e01c15746$4f088450$a50410ac@olmct.net> Message-ID: <20011017162321.A4152-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 17 Oct 2001, Andre` Niel Cameron wrote: > Oh one more thing is there a way to have header files in perl so I can ke= ep > my variable and functions out of the main code? Sure. You can use or require other Perl modules or Perl libraries: require "globals.pl"; use My::Library; Again, a good Perl programming book would really help at this stage. Joe > > Regards, > Andre` C. > Technical Support > =D4=BF=D4=AC > -------------------------------------------------------------------------= --- > - > Visit our support manual at http://supportmanual.com/ > ----- Original Message ----- > From: "Andre` Niel Cameron" > To: "free bsd" > Sent: Wednesday, October 17, 2001 3:58 PM > Subject: Perl Question > > > > Just wondering how to wright a function in perl, IE: > > > > C/C++ > > void MyFunction(){ > > CODE > > }; > > > > Perl? > > > > > > Regards, > > Andre` C. > > Technical Support > > =D4=BF=D4=AC > > -----------------------------------------------------------------------= --- > -- > > - > > Visit our support manual at http://supportmanual.com/ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message