Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you use include files in Perl?

Status
Not open for further replies.

Haazi2

Programmer
Aug 25, 2000
51
US
I'm a C guy trying to learn Perl. In C, you can create include files to be used by many programs. How can you do this in Perl? It looks like you can do this with Perl modules, but is using Perl modules the only way to include files in Perl? Thanks in advance for any help offered.
 
You can also use the "do" command.

perldoc -f do
perldoc -f require
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top