RE: Perl Question : How To Include?

by "Wiswell, Virginia" <Virginia.Wiswell(at)dowjones.com>

 Date:  Tue, 1 Feb 2000 11:41:30 -0500
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
you're right, brian. i use 'require' all the time. it just plunks the
contents of the 'require'd file in place of the 'require' statement as the
script is interpreted.

virginia
http://www.windvoice.com

> That double colon structure (hmm...other languages call it 
> the scoping operator), indicates projectname::function, so 
> that wouldn't work.  Require statements are done at runtime, 
> so I *believe* that it is done when the script gets to that 
> line.  I've never tested it, because I always just declare 
> everything at the beginning of my scripts.  Sorry...you've 
> hit my limit of expertise, but I will check up on it.  :)
 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.