http://qs321.pair.com?node_id=254313


in reply to Re: Re: Re: a simple include....
in thread a simple include....

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....