I am receiving the following error when I attempt to use some variable data
values.   Perl version = v5.6.1 built for sun4-solaris

"Not a CODE reference at
/opt/yantra/ecommerce/webpages/cgi-bin/yahoo_orderQA.pl line 123.

line 123 =     eval { print OUT "H",$info->('Gift-Wrap');};


FYI - I am using the eval to capture the error so I can print it as this is
a background script program.

When a use the Data::Dumper on the $info variable, this is the output:
$VAR1 = {
          'Coupon-Id' => 'c1120',
          'Bill-Phone' => '858-481-2332',
          'Ship-Phone' => '858-481-2332',
          'Ship-Firstname' => 'Sean',
          'Gift-Wrap' => 'on',
          'Item-Unit-Price-1' => '339.00',
          'Ship-City' => 'Del Mar',
          'Numeric-Time' => '1006280483',
          'Coupon-Description' => '10% savings',
          'Tax-Charge' => '24.84',
          'Shipping-Charge' => '8.95',
          'Bill-Email' => '[EMAIL PROTECTED]',
          'Item-Taxable-1' => 'YES',
          'Card-Expiry' => '3/2004',
          'Bill-City' => 'Del Mar',
          'Coupon-Value' => '33.90',
          'Store-Name' => 'e.Digital',
          'Item-Code-1' => '13-830913',
          'Ship-Name' => 'Sean vandenHeuvel',
          'Store-Id' => 'edig-qa',
          'Item-Thumb-1' => '<img width=63 height=70
src="http://store1.yimg.com/I/edig-qa_1663_787539"; border=0>',
          'Item-Description-1' => 'MXP 100 340 MB Microdrive(tm)',
          'Bill-State' => 'CA',
          'Comments' => '',
          'Space-Id' => '',
          'Currency' => 'USD',
          'Ship-State' => 'CA',
          'Bill-Name' => 'Sean vandenHeuvel',
          'Gift-Wrap-Message' => 'Hi there. This is a test message.
How many fields can I put in here anyways?
1
2
3
4
5
6
7
8
9
10
Hmmm, this could be a problem. . . 

I\'m going to have to figure out a way to limit this, or at least to tell
customers they can only have a few lines of text here.

Yes yes.',
          'Date' => 'Tue Nov 20 18:21:23 2001 GMT',
          'Ship-Lastname' => 'vandenHeuvel',
          'Card-Name' => 'Visa',
          'Shipping' => 'Ground',
          'Ship-Address1' => '4928 Rancho Grande',
          'Bill-Zip' => '92014',
          'Ship-Address2' => '',
          'Ship-Zip' => '92014',
          'Item-Quantity-1' => '1',
          'Item-Id-1' => '13-830913',
          'Bill-Lastname' => 'vandenHeuvel',
          'Bill-Country' => 'US United States',
          'Gift-Wrap-Charge' => '6',
          'Bill-Address1' => '4928 Rancho Grande',
          'Bill-Address2' => '',
          'Item-Count' => '1',
          'Item-Url-1' => ',
          'ID' => 'edig-qa-485',
          'Ship-Country' => 'US United States',
          'Bill-Firstname' => 'Sean'
        };

I have most of the fields taken care of, but am receiving this error on the
6 Gift-Wrap and Coupon fields.  I am referencing them the same way as the
bill and ship address fields, and am at a loss.

Any assistnance would be greatly appreciated.  Thanks

Carlin Anderson
Sr. Software Engineer
APL Direct Logistics
1301 Riverplace Blvd, Suite 530
Jacksonville, FL  32207
904-858-4754           direct
904-616-6542           cell phone, pager
[EMAIL PROTECTED]
[EMAIL PROTECTED]


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

Reply via email to