Lengkap

Include files and variables in PERL scripts

Ok, I'm sure this is ridiculously easy, but I'm not a perl programmer.

This job is simple: Show me how to do two things:

1. Include a (non executable) file such as "/includes/ad.inc" in the output of a perl file such as "/cgi-bin/mypage.cgi".

2. Include variable values from a shared config file such as "/cgi-bin/sitesettings.config" in the output of a perl file such as "/cgi-bin/mypage.cgi".

I'm thinking that the config file will have a format such as:

SiteName=[url removed, login to view];

SomeOtherVariable=SomeValue;

But if there is a better way to do it in perl, I'm open to it.

Kemahiran: Perl

Lihat lagi: perl include file, perl include file variables, perl include files, perl include variables file, perl include file variable, perl include variable file, perl include, perl include variables, perl include variable, perl include config file, perl cgi include file, config file perl, perl show includes, perl include perl file, perl include files variables, include file perl, include variables perl, include files perl, perl variable include file, perl include var file

Tentang Majikan:
( 18 ulasan ) Waltham, United States

ID Projek: #235626

Dianugerahkan kepada:

TakeReal

I am Perl programmer, I can show "how to"

$30 USD dalam sehari
(83 Ulasan)
5.2

3 pekerja bebas membida secara purata $32 untuk pekerjaan ini

mickalo

we can do this for you quiet easily. Mickalo

$35 USD dalam 0 hari
(3 Ulasan)
3.9
webdeli

I need to discuss this with you as it is server specific. I ALSO want to ensure you want to use CGI for a website. PHP for websites is often easier (If you are learning these things) - Please Google Us: Web Deli - Sout Lagi

$30 USD dalam 0 hari
(0 Ulasan)
0.0