Forum Moderators: coopster & phranque

Message Too Old, No Replies

Including Files

Adding commonly used blocks to a script

         

Conan_of_Oz

7:12 pm on Sep 11, 2005 (gmt 0)

10+ Year Member



I have a block of perl .cgi code I wish to use in several scripts. I am not an advanced user, BTW.

What is the sytax to include a file as a code fragment within a .cgi file?

volatilegx

7:13 pm on Sep 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



require('filename');