>
>   Nope.  I had the ; in the code, just didn't put it in the example here.
> This is what the real code looks like:
> [!
>         use DBI;
>         use DBD::mysql;
>         $connect_string = "DBI:mysql:topconlaser";
>         $Persistent::dbc = DBI->connect($connect_string, "*****",
"*****");
>         use CGI;
>         # use cart_support;
> !]
> [-
>         use cart_support;
>         $cgi = new CGI();
>         $cart_id = $cgi->cookie('cart_id');
>         $items_deleted = "";
> -]
>


This really sounds strange. There soundn't be a difference where you use
your module. The only thing that I can imagine at the moment, is if you
include the file, via the Execute import parameter, or if you use it
together with EmbperlObject, do you ? The [! !] will be executed when the
import happens and the [- -] not (that was different in 1.2.x)

Does the cart_support file has it's own package ?

Gerald

P.S. use is a compile time statement, so it is executed at the same time in
both cases and when the code is executed Perl doesn't do anything with the
use (even not check if the module is already there, as I wrote in my last
mail)


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to