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
);
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.