For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > November 2004 > Including other perl files









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Including other perl files
nunodonato@gmail.com

2004-11-26, 8:55 am

Hi...

I'm trying to include a perl file inside other one which I use for a
website.
I've searched for the equivalent functions of php require/include, and
found many solutions like do or require.
the problem with these, is that i have to specify the full path to the
file. I dont want this because i can change the directory of the
website and then it stops working...

how to solve?

thank you

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com