Hello.

  I just upgraded Embperl to 1.3.0 from 1.2.9.  With the previous version, I
was able to create an external package, and invoke the use command inside a
[! !] block.  Then I could call a subroutine from within normal [- -] or [+
+] blocks.

  But, with 1.3.0, if I put the "use cart_support.pm" inside a [! !] block,
I getting errors like the following...
Error in Perl code: Can't use global @_ in "my" at
/usr/local/apache/lib/perl/cart_support.pm line 446.

Which looks like this:
sub emailCustomer

        my ($fdata, $aCart, $an_array) = @_;

  If I put the "use cart_support.pm" inside a [- -] block, the error stops.

  I would rather not have to import/compile this package on every invocation
of the page, how can I get it back into the [! !] block?

  Thank you.

Steve Wilder
Matrix Interactive, Inc.
http://www.matrixinteractive.net/
Desk: 248.814.8235
Cell: 248.894.3128
Fax : 248.814.8236
BEGIN:VCARD
VERSION:2.1
N:Wilder;Steve
FN:Steve Wilder
ORG:Matrix Interactive, Inc.
TITLE:President
TEL;WORK;VOICE:(248) 814-8235
TEL;CELL;VOICE:(248) 894-3128
TEL;WORK;FAX:(248) 814-8236
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010203T060545Z
END:VCARD

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

Reply via email to