[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

knas med perl



Hej,

Får en underlig fejl fra perl:

.. div. kode
while(%orow = %{ $osth->fetchrow_hashref()})
   {
   print $orow{class};
      if ($orow{class} =~ /ot_tax/)
      {$tax = $orow{value}; }
      if ($orow{class} =~ /ot_total/)
      {$total = $orow{value};}
      if ($orow{class} =~ /ot_fixed_payment_chg/)
      {$bgebyr = $orow{value};}
      if ($orow{class} =~ /ot_shipping/)
      {$shipping = $orow{value};}
      if ($orow{class} =~ /ot_handlingfee/)
      {$handling = $orow{value};}
   }

giver:
Processing order 6
Can't use an undefined value as a HASH reference at lavfaktura.pl line 74.
ot_taxot_totalot_fixed_payment_chgot_subtotalot_shippingot_handlingfee

linie 74 er denne: if ($orow{class} =~ /ot_handlingfee/)

Nogen ideer hvilken lille detalje jeg har overset?

--
Regards,
Klavs Klavsen, GSEC - sslug@sslug - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

"Those who do not understand Unix are condemned to reinvent it, poorly."
  --Henry Spencer


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *