Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
1- I understand from your answer that there is no equivalent of a "simple" include
2- I have tried do declare package main; in both main.pl and inc.pl. It would oblige me to declare $main::Sousprogramme for all the variables of my main.pl. I have done that but I get more errors in a $main::cursor = ($main::dbh)->prepare("Select..."); Database handle destroyed without explicit disconnect at /var/www/tools/crm/main.pl line 16. Wed Apr 30 15:59:34 2003 error Can't call method "prepare" on an undefined value at /var/www/tools/crm/main.pl line 44. This becomes complicated when I was looking for a "simple" include.... In reply to Re: Re: Re: Re: a simple include....
by pcouderc
|
|