At the end of this hash key definition, I get the error message "useless use of a constant in a void context"... could someone please tell me what this means?
our %spec;
$spec{V20} =
(
delete_code => 1,
ifill_order_number => 8,
ifill_order_suffix => 1,
sequence_number => 3,
client_number => 2,
lcc => 13,
shipped => 5,
ext_price => 7,
future_use => 7,
ship_year => 2,
ship_month => 2,
ship_day => 2,
xmit_year => 2,
xmit_month => 2,
xmit_day => 2,
xmit_time => 6,
cancel_flag => 1,
cancel_msg => 30,
upc_ean => 13,
ship_date_2 => 8,
xmit_date_2 => 8,
client_title => 30,
client_ref => 20,
ordered => 5
);
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.