For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > September 2004 > extern varibales









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 extern varibales
Christian Stalp

2004-09-24, 8:56 am

Hello together,
I have this problem of global variables again. But in my case I need a
varibale, a string, which should be known in all my modules. I put some of my
functions out in modules which I call when I use them but all these functions
also need some directory-pathes as strings. At the time I tell this functions
this pathes with parameters but this is very long windet.

Does anybody know another solution. Do we have in perl something like a scope
EXTERN linke in C ?

Gruss Christian


--
Christian Stalp

Institut für Medizinische Biometrie, Epidemiologie und Informatik (IMBEI)
Obere Zahlbacher Straße 69
55131 Mainz
Tel.: 06131/ 17-6852

E-Mail: stalp@imbei.uni-mainz.de
Internet: www.imbei.de
Sponsored Links







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

Copyright 2008 codecomments.com