[ic] Problems with $Tag->import() in [perl]

Ed LaFrance interchange-users@lists.akopia.com
Tue Jul 17 14:33:00 2001


IC: 4.6.5
OS: RH 6.2
Perl: version 5.005_03 built for i386-linux


This in-page code:

[tag flag write]fulfillments[/tag]

[perl tables="fulfillments" global=1]
         my $body = "9999\tblah";
         $Tag->import(
             {
              table => 'fulfillments',
              type => 'TAB',
             },
             $body
         );
[/perl]


fails to import any data, though no error is logged.  This works fine:

[tag flag write]fulfillments[/tag]
[import fulfillments TAB]9999   blah[/import]

The catalog is defined with AllowGlobal in interchange.cfg; is 
$Tag->import() undoable with embedded Perl?

TIA -

Ed L.


===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================